drublic/init — pull request #10 by cilice (2013-01-25 11:15:39+00:00)
Title: Add source maps, clean /dist on deploy

Actually tested `contrib-copy` and `contrib-clean` and made it all work. :)

The `/dist` folder is deleted upton `grunt deploy` start, JS files are copied into the `/dist` folder, `uglify` creates the minified file and `fix-sourcemap` task fixed the source mapping until `dist-uglify` gets the right parameters implemented.

Also fixed the `fix-sourcemap` task to being able to handle templates in filenames, like `dist/js/main-<%= pkg.version %>.min.js`.

Fixes #9.