Skip to content

Instantly share code, notes, and snippets.

@alexnodejs
Created September 6, 2013 13:00
Show Gist options
  • Save alexnodejs/6463465 to your computer and use it in GitHub Desktop.
Save alexnodejs/6463465 to your computer and use it in GitHub Desktop.
build/compile
grunt.registerTask( 'build', [
'clean:build', 'html2js', 'jshint', 'coffeelint', 'coffee', 'recess:build',
'copy:build_assets', 'copy:build_appjs', 'copy:build_vendorjs', 'copy:build_fixturejs',
'index:build', 'karmaconfig', 'karma:continuous', 'karma:e2e', 'gitinfo', 'replace:inject_version'
]);
/**
* The `compile` task gets your app ready for deployment by concatenating and
* minifying your code.
*/
grunt.registerTask( 'compile', [
'recess:compile', 'copy:compile_assets', 'ngmin', 'concat', 'uglify', 'index:compile', 'gitinfo',
'replace:inject_version'
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment