diff --git a/README.md b/README.md index e0af81a3..6e5d56ab 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,9 @@ $ npm install -g gulp (Or, use node_module/gulp/bin/gulp.js You can package this app with following commands. Packages will be created in `release` directory. ``` +$ gulp package (for your platform) $ gulp package:windows (Requires Windows or Wine) $ gulp package:osx (Requires OS X or Linux) $ gulp package:linux -$ gulp package (Packages for all platform) +$ gulp package:all (Packages for all platform) ``` diff --git a/docker/package_in_docker.sh b/docker/package_in_docker.sh index 121b5198..09c7b87e 100755 --- a/docker/package_in_docker.sh +++ b/docker/package_in_docker.sh @@ -2,4 +2,4 @@ # This script should be executed in docker container. set -ex cd electron-mattermost -./node_modules/gulp/bin/gulp.js package +./node_modules/gulp/bin/gulp.js package:all diff --git a/gulpfile.js b/gulpfile.js index c2113f79..8dd12899 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -68,6 +68,10 @@ function makePackage(platform, arch) { }; gulp.task('package', ['sync-meta'], function() { + makePackage(process.platform, 'all'); +}); + +gulp.task('package:all', ['sync-meta'], function() { makePackage('all', 'all'); });