-
Notifications
You must be signed in to change notification settings - Fork 30
Install Dependencies
Make sure you have the latest versions of node.js and npm installed.
Don't forget to install the app's dependencies before building it:
Global dependencies:
npm install -g gulp
Local dependencies:
npm install
The last command should also install the modules for ./src
and dedupe them. If ./src/node_modules/
doesn't exist then:
cd ./src
npm install
npm dedupe
You can safely ignore the conflict warnings from npm dedupe
.
For OS X releases, you need an OS X machine.
If you want to build deb
and rpm
packages for Linux, you need fpm. To quickly install it on OS X:
sudo gem install fpm
brew install rpm
More detailed info: https://github.com/jordansissel/fpm#system-packages.
Note: I don't know if
fpm
works on Windows, probably not because of the dependencies. But why would you want to do that, anyway? Linux <3
For Windows releases, you need a Windows machine. The packaging tasks only work on Windows due to their dependencies: Squirrel.Windows and Microsoft's SignTool. Yes, I tried wine and it didn't work.
To sign the app, make sure you have SignTool.exe
in your PATH.
You can use AppVeyor CI to build for Windows.