kopia lustrzana https://github.com/dceejay/electron-node-red
Slight tidy
rodzic
6ca4fc735d
commit
0d7acd70dc
|
@ -5,7 +5,7 @@
|
||||||
- node_modules
|
- node_modules
|
||||||
env:
|
env:
|
||||||
# Node in order to install it by running the command individually, here to specify the version
|
# Node in order to install it by running the command individually, here to specify the version
|
||||||
#- NODE_VERSION="4.4"
|
#- NODE_VERSION="4.6"
|
||||||
before_install:
|
before_install:
|
||||||
# Install brew -> wine and makensis
|
# Install brew -> wine and makensis
|
||||||
- brew update
|
- brew update
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
# Install the nvm. Nvm is not included by default in OS X environment of Travis
|
# Install the nvm. Nvm is not included by default in OS X environment of Travis
|
||||||
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
|
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
|
||||||
- source /tmp/.nvm/nvm.sh
|
- source /tmp/.nvm/nvm.sh
|
||||||
- nvm install 4.4
|
- nvm install 4.6
|
||||||
- nvm use --delete-prefix 4.4
|
- nvm use --delete-prefix 4.6
|
||||||
- node --version
|
- node --version
|
||||||
- npm -v
|
- npm -v
|
||||||
- npm install -g electron-packager
|
- npm install -g electron-packager
|
||||||
|
|
|
@ -17,11 +17,11 @@ cd electron-node-red
|
||||||
npm install && npm run clean && npm start
|
npm install && npm run clean && npm start
|
||||||
```
|
```
|
||||||
|
|
||||||
## TLDR
|
## TL:DR
|
||||||
|
|
||||||
Then run `npm run pack` to create packages for all platforms
|
Run `npm run pack` to create packages for all platforms
|
||||||
or `npm run build` to build a .dmg file for OSX and deb files for linux (32 and 64bit).
|
or `npm run build` to build a .dmg file for OSX, and deb files for linux (32 and 64bit).
|
||||||
or `npm run build:osx` to just build for osx.
|
or `npm run build:osx` to just build for OSX.
|
||||||
|
|
||||||
Builds are created in the `build` directory. Runtimes are created in the `dist` directory.
|
Builds are created in the `build` directory. Runtimes are created in the `dist` directory.
|
||||||
|
|
||||||
|
|
Plik binarny nie jest wyświetlany.
Ładowanie…
Reference in New Issue