npm install ontracThis is an internally used tool. I don't think it will help general public very much. It is used to automate switching cordova/phonegap
projects between companies and automatically building with XCODE / Android Studio.
npm i -g ontrac
| Command | Description |
| ---------- | --------------------------------------- |
| use | ontrac use project --version=1.4.10 |
| deploy | ontrac deploy |
| build | ontrac build |
- Node.js
- Java
- JDK
- Android SDK
- PM2
- Xcode
Obs:
If you are a developer and you are trying to build a APK or IPA, make sure that your environment's variables are already exported.
for Mac OS, copy and update the values inside your
_~/.bashrc_ or in _~/.zshrc_ :
````
export ANDROID_HOME=/Users/$(whoami)/Library/Android/sdk
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_212.jdk/Contents/Home/
export PATH=$PATH:/Users/$(whoami)/Library/Android/sdk/tools:/Users/$(whoami)/Library/Android/sdk/tools/bin:/Users/$(whoami)/Library/Android/sdk/platform-tools:/Users/$(whoami)/Library/Android/sdk/build-tools/28.0.3
If you are a QA, we have an iMac with everything ready for you to generate a test build.
It's optional for development environment _--version_


In order for android to build a password is needed to open the keystore file. The password you have access to is in your 1Password Account.
android:

ios:

This project can be better with your help. If you see something that can be improved or you have an idea, open an issue in ontrac-cli board.