gruntjs / grunt-contrib-stylus

Compile Stylus files to CSS.
http://gruntjs.com/
MIT License
174 stars 70 forks source link

Add source/destination parameters #120

Closed darek closed 10 years ago

darek commented 10 years ago

Would be great to have source/destination parameters instead of what now looks "files" parameters

Now I can't use variables (error: can't use interpolations here) in destination path to look like: files: { "#{TARGET_DIR}/style/app.css" : ["#{STAGE_APPDIR}/*/_.styl"] }

we could use something like

files: { src: ["#{STAGE_APPDIR}/*/_.styl"] dest: "#{TARGET_DIR}/style/app.css" }

sindresorhus commented 10 years ago

You can use whatever grunt supports. The readme example is just that, just an example.