Kouhei Sutou
null+****@clear*****
Mon Nov 17 15:06:30 JST 2014
Kouhei Sutou 2014-11-17 15:06:30 +0900 (Mon, 17 Nov 2014) New Revision: f4a7426ac17a3049d7456b0f8b559001c2a4ce00 https://github.com/groonga/groonga-admin/commit/f4a7426ac17a3049d7456b0f8b559001c2a4ce00 Message: Upload to packages.groonga.org Modified files: Gruntfile.js Modified: Gruntfile.js (+9 -2) =================================================================== --- Gruntfile.js 2014-11-17 14:21:45 +0900 (5dbb258) +++ Gruntfile.js 2014-11-17 15:06:30 +0900 (b28d0c4) @@ -507,11 +507,18 @@ module.exports = function (grunt) { shell.exec('tar cvzf ' + archiveBaseName + '.tar.gz ' + archiveBaseName); }); - grunt.registerTask('package', 'Create package', [ + grunt.registerTask('archive:upload', 'Upload archive', function (target) { + shell.exec('scp ' + + archiveBaseName + '.tar.gz ' + + 'packages �� packages.groonga.org:public/source/groonga-admin/') + }); + + grunt.registerTask('package', 'Create archive and upload it', [ 'build', 'clean:archive', 'copy:archive', 'archive', - 'clean:archive' + 'clean:archive', + 'archive:upload', ]); }; -------------- next part -------------- HTML����������������������������...Download