grunt-filerev icon indicating copy to clipboard operation
grunt-filerev copied to clipboard

Add basename option

Open stephanebachelier opened this issue 11 years ago • 5 comments

Should fix #15 with a different approach from PR #44 Should also help #53 as it will easier to handle by other grunt tasks, as no path will be added.

As a side note, you will see in 60c53f2 that I needed to specify each tests with filerev:xxx as I need to manipulate the grunt.filerev.summary.

/CC @sindresorhus

stephanebachelier avatar Oct 27 '14 01:10 stephanebachelier

Please merge, this is a much needed option!

madrobot avatar Nov 14 '14 17:11 madrobot

I don't think this solves the problem in the right way. The option should be named base and you should be able to supply a string with a path the is the base and the resulting paths will be relative to this one.

sindresorhus avatar Nov 16 '14 08:11 sindresorhus

@sindresorhus make sense :) I update the PR.

stephanebachelier avatar Nov 21 '14 14:11 stephanebachelier

ping @stephanebachelier - This PR needs some updates, as well as a rebase.

arthurvr avatar Jun 07 '15 08:06 arthurvr

@arthurvr waiting for the decision about the rewrite

stephanebachelier avatar Jun 30 '15 21:06 stephanebachelier