Changeset 516 for Dev/trunk/Gruntfile.js
- Timestamp:
- 03/14/14 12:36:58 (11 years ago)
- Location:
- Dev/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk
- Property svn:ignore
-
old new 1 1 build 2 quod-erat.git
-
- Property svn:ignore
-
Dev/trunk/Gruntfile.js
r505 r516 14 14 ,'coffeelint:lint' 15 15 ,'jsonlint:lint' 16 16 //,'tv4:lint' 17 17 ,'less:compile' 18 18 ,'usebanner:generated-css' … … 27 27 ,'dojo:build' 28 28 ]); 29 grunt.registerTask('deploy', ['path-check:deploy', 30 'svninfo', 31 'build', 32 'git_deploy:deploy']); 29 33 30 34 // FILES AND FOLDERS … … 69 73 releaseDir: '../../'+buildDir }} 70 74 }, 75 git_deploy: { 76 deploy: { 77 options: { 78 url: 'git@heroku.com:quod-erat.git', 79 branch: 'master', 80 message: "Deployment of revision <%= svninfo.rev %> on <%= grunt.template.today() %>." 81 }, 82 src: buildDir 83 } 84 }, 71 85 htmlhint: { 72 86 options: { htmlhintrc: srcDir+".htmlhintrc" }, … … 82 96 }, 83 97 jsonlint: { 84 'lint': { files: { src: [ srcDir+'client/qed-client/**/*.json', srcDir+'server/**/*.json' ] } } ,98 'lint': { files: { src: [ srcDir+'client/qed-client/**/*.json', srcDir+'server/**/*.json' ] } } 85 99 }, 86 100 less: { … … 88 102 dumpLineNumbers: "all" }, 89 103 compile: { files: lessMap } 104 }, 105 'path-check': { 106 'deploy': { 107 src: [ 'git', 'svn' ] 108 } 90 109 }, 91 110 requirejs: { … … 143 162 grunt.loadNpmTasks('grunt-contrib-less'); 144 163 grunt.loadNpmTasks('grunt-dojo'); 164 grunt.loadNpmTasks('grunt-git-deploy'); 145 165 grunt.loadNpmTasks('grunt-htmlhint'); 146 166 grunt.loadNpmTasks('grunt-jsonlint'); 167 grunt.loadNpmTasks('grunt-path-check'); 168 grunt.loadNpmTasks('grunt-svninfo'); 147 169 grunt.loadNpmTasks('grunt-tv4'); 148 170 grunt.loadTasks('./grunt-tasks');
Note: See TracChangeset
for help on using the changeset viewer.