gulp package
makes packages only for current platform
This commit is contained in:
@@ -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.
|
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:windows (Requires Windows or Wine)
|
||||||
$ gulp package:osx (Requires OS X or Linux)
|
$ gulp package:osx (Requires OS X or Linux)
|
||||||
$ gulp package: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.
|
# This script should be executed in docker container.
|
||||||
set -ex
|
set -ex
|
||||||
cd electron-mattermost
|
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() {
|
gulp.task('package', ['sync-meta'], function() {
|
||||||
|
makePackage(process.platform, 'all');
|
||||||
|
});
|
||||||
|
|
||||||
|
gulp.task('package:all', ['sync-meta'], function() {
|
||||||
makePackage('all', 'all');
|
makePackage('all', 'all');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user