ontrac

2.1.8 • Public • Published

Ontrac CLI 🚀

This 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.

Installation:

npm i -g ontrac

How use:

Command Description
use ontrac use project --version=1.4.10
deploy ontrac deploy
build ontrac build

Dependencies:

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.

enter image description here

1) ontrac use client_name --version=1.4.10:

It's optional for development environment --version

asciicast

2) ontrac deploy (sandbox or production):

asciicast

3) ontrac build (iOS or Android):

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:

asciicast

ios:

asciicast

Contributing

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.

Readme

Keywords

none

Package Sidebar

Install

npm i ontrac

Weekly Downloads

3

Version

2.1.8

License

MIT

Unpacked Size

41 kB

Total Files

20

Last publish

Collaborators

  • wolfzer44
  • litetan
  • gimp3695