Nixenvironment
Nixenvironment installs, updates and manages inner NIX environment stuff to make build and deploy for NIX projects, etc.
Installation
$ [sudo] gem install nixenvironment
Usage
To get help in usage please tape this:
$ nixenvironment [-h | --help]
TODO:
- Rework legacy scripts
- Update utils, rework if possible
- Move Unity build logic to separate gem and add it via dependencies
- Rewrite this README
Automatic install and update on CI (Jenkins):
Add lines below to Sudoers in Mac OS X system:
jenkins ALL=(ALL) NOPASSWD: /usr/bin/bundle
jenkins ALL=(ALL) NOPASSWD: /usr/bin/gem
To know how to do it correctly please read this:
http://osxdaily.com/2014/02/06/add-user-sudoers-file-mac/
and this:
http://stackoverflow.com/questions/12736351/exit-save-edit-to-sudoers-file-putty-ssh
Then run this in Execute shell:
# See credentials for deploy on https://qwiki.nixsolutions.com/display/IPT/Credentials
$ ./gemify.sh && bundle update && sudo gem install nixenvironment --verbose --no-document
NOTE! CI must be configured with UTF-8 locale! Please see how to implement it for Jenkins:
https://github.com/KrauseFx/fastlane/issues/227#issuecomment-139449487