Skip to content

Instantly share code, notes, and snippets.

@gabidavila
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabidavila/f6b34429cb92582f3087 to your computer and use it in GitHub Desktop.
Save gabidavila/f6b34429cb92582f3087 to your computer and use it in GitHub Desktop.
//Gruntfile
module.exports = function(grunt) {
//Initializing the configuration object
grunt.initConfig({
// Paths variables
paths: {
// Development where put SASS files, etc
assets: {
css: './public/assets/stylesheets/',
js: './public/assets/javascripts/',
vendor: './public/assets/vendor/'
},
// Production where Grunt output the files
css: './public/css/',
js: './public/js/'
},
// Task configuration
concat: {
//...
},
sass: {
//...
},
uglify: {
//...
},
phpunit: {
//...
},
watch: {
//...
}
});
// Plugin loading
// Task definition
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment