exercism / gui

MIT License
22 stars 13 forks source link

Packaging #3

Closed holandes22 closed 8 years ago

holandes22 commented 8 years ago

The main problem right now is to have a way to cross-compile for all platforms. Is not easy in a developer laptop so using hosted services is the way to go.

A wiki at electron-builder has very useful info on how to use hosted services to have a multi-platform build. Sounds promising https://github.com/electron-userland/electron-builder/wiki/Multi-Platform-Build

CI automation options

holandes22 commented 8 years ago

Some progress on travis https://travis-ci.org/holandes22/exercism-gui/builds/137330054

Linux is working and package is being built

OSX is not working. Seems to install all node and bower deps, but when running the package command it fails

$ ember electron:package --platform $TRAVIS_OS_NAME --arch x64
/Users/travis/build.sh: line 45: ember: command not found
The command "ember electron:package --platform $TRAVIS_OS_NAME --arch x64" exited with 127.

Seems is not able to find the ember-cli binary installed in the local node_modules. No idea why. According to https://github.com/travis-ci/travis-ci/issues/2311 node_js should be supported in osx

Did not have time to check appveyor to build for Windows

holandes22 commented 8 years ago

This is now working on Linux and Mac. Next steps: