Changeset 518
- Timestamp:
- 03/14/14 16:27:40 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/Gruntfile.js
r517 r518 11 11 grunt.registerTask('default', ['compile']); 12 12 // development 13 grunt.registerTask('compile', ['path-check:svn' 14 ,'svn-ignore:compile' 15 ,'jshint:lint-sources' 16 ,'htmlhint:lint' 17 ,'coffeelint:lint' 18 ,'jsonlint:lint' 19 //,'tv4:lint' 20 ,'less:compile' 21 ,'usebanner:generated-css' 22 ,'coffee:compile' 23 ,'usebanner:generated-js' 24 ,'jshint:lint-generated' 25 //,'amd-check' // too smart about plugins, r.js can't find them 26 ]); 27 grunt.registerTask('run', ['path-check:foreman' 28 ,'compile' 29 ,'foreman:dev']); 30 grunt.registerTask('build', ['compile' 31 ,'clean:build' 32 ,'copy:build' 33 ,'dojo:build' 34 ]); 35 grunt.registerTask('run-build', ['path-check:foreman' 36 ,'build' 37 ,'foreman:build']); 38 grunt.registerTask('deploy', ['path-check:svn' 39 ,'path-check:git' 40 ,'svninfo' 41 ,'build' 42 ,'git_deploy:deploy']); 13 grunt.registerTask('compile', 14 "Lint all sources and compile Coffee and LESS sources.", 15 ['path-check:svn' 16 ,'svn-ignore:compile' 17 ,'jshint:lint-sources' 18 ,'htmlhint:lint' 19 ,'coffeelint:lint' 20 ,'jsonlint:lint' 21 //,'tv4:lint' 22 ,'less:compile' 23 ,'usebanner:generated-css' 24 ,'coffee:compile' 25 ,'usebanner:generated-js' 26 ,'jshint:lint-generated' 27 //,'amd-check' // too smart about plugins, r.js can't find them 28 ]); 29 grunt.registerTask('run', 30 "Compile and start the server locally with foreman.", 31 ['path-check:foreman' 32 ,'compile' 33 ,'foreman:dev']); 34 grunt.registerTask('build', 35 "Compile and make a Dojo build of the client (compress sources).", 36 ['compile' 37 ,'clean:build' 38 ,'copy:build' 39 ,'dojo:build' 40 ]); 41 grunt.registerTask('run-build', 42 "Make a build and start server from build locally with foreman.", 43 ['path-check:foreman' 44 ,'build' 45 ,'foreman:build']); 46 grunt.registerTask('deploy', 47 "Make a build and deploy it to Heroku.", 48 ['path-check:svn' 49 ,'path-check:git' 50 ,'svninfo' 51 ,'build' 52 ,'git_deploy:deploy']); 43 53 // database management 44 54 grunt.registerTask('db-backup-cloud-to-dated-local', 55 "Backup the Heroku database to a timestamped local database.", 45 56 ['path-check:heroku' 46 57 ,'heroku-config' 47 58 ,'http:db-backup-cloud-to-dated-local']); 48 59 grunt.registerTask('db-pull-cloud-to-local', 60 "Synchronize local database with the Heroku database (pull changes).", 49 61 ['path-check:heroku' 50 62 ,'heroku-config' 51 63 ,'http:db-pull-cloud-to-local']); 52 64 grunt.registerTask('db-push-local-to-cloud', 65 "Synchronize the Heroku database with the local database (push changes).", 53 66 ['path-check:heroku' 54 67 ,'heroku-config' 55 68 ,'http:db-push-local-to-cloud']); 69 grunt.registerTask('#', 70 "---\nTASKS BELOW ARE INTERNAL AND SHOULD NOT USUALLY BE CALLED FROM THE COMMAND-LINE\n---", 71 []); 56 72 57 73 // FILES AND FOLDERS
Note: See TracChangeset
for help on using the changeset viewer.