Changeset 522 for Dev/trunk/Gruntfile.js
- Timestamp:
- 03/17/14 21:50:17 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/Gruntfile.js
r520 r522 31 31 ['path-check:foreman' 32 32 ,'compile' 33 ,'foreman: dev']);33 ,'foreman:run-src']); 34 34 grunt.registerTask('build', 35 35 "Compile and make a Dojo build of the client (compress sources).", … … 43 43 ['path-check:foreman' 44 44 ,'build' 45 ,'foreman: build']);45 ,'foreman:run-build']); 46 46 grunt.registerTask('deploy', 47 47 "Make a build and deploy it to Heroku.", … … 50 50 ,'svninfo' 51 51 ,'build' 52 ,'git_deploy:deploy']); 52 ,'git_deploy:deploy-build']); 53 grunt.registerTask('deploy-src', 54 "Deploy sources to Heroku (FOR DEBUGGING ONLY).", 55 ['path-check:svn' 56 ,'path-check:git' 57 ,'svninfo' 58 ,'compile' 59 ,'git_deploy:deploy-src']); 53 60 // database management 54 61 grunt.registerTask('db-backup-cloud-to-dated-local', … … 126 133 }, 127 134 foreman: { 128 dev: {135 'run-src': { 129 136 options: { 130 137 cwd: srcDir 131 138 } 132 139 }, 133 build: {140 'run-build': { 134 141 options: { 135 142 cwd: buildDir … … 138 145 }, 139 146 git_deploy: { 140 deploy: {147 'deploy-build': { 141 148 options: { 142 149 url: 'git@heroku.com:quod-erat.git', 143 150 branch: 'master', 144 message: " Deployment of revision <%= svninfo.rev %> on <%= grunt.template.today() %>."151 message: "Build deployment of revision <%= svninfo.rev %> on <%= grunt.template.today() %>." 145 152 }, 146 153 src: buildDir 154 }, 155 156 'deploy-src': { 157 options: { 158 url: 'git@heroku.com:quod-erat.git', 159 branch: 'master', 160 message: "Source deployment of revision <%= svninfo.rev %> on <%= grunt.template.today() %>." 161 }, 162 src: srcDir 147 163 } 148 164 },
Note: See TracChangeset
for help on using the changeset viewer.