gulp package
makes packages only for current platform
This commit is contained in:
parent
af7d859e39
commit
4559811bf4
|
@ -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)
|
||||
```
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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');
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue