Allow user to not specify a destination in Gruntfile #19

Open
wants to merge 2 commits into
from

1 participant

@chrisknepper

My changes allow the user to not specify a destination or specify the same destination as the source and it will produce the expected output. This allowed me to chain the cssmin task after other tasks that affect the same CSS file (grunt-contrib-less and grunt-combine-media-queries).
no_destination

cknepper added some commits Aug 1, 2013
cknepper Fix issue of same source/destination resulting in empty file. Similar…
… to commit 8a2646d, but with less code and also enables not specifying a destination, which will set the destination to the source.
f42b029
cknepper Fix the guard code, now it works if the destination and source are th…
…e same or no destination is given, as long as the source file exists.
7b28086
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment