0.3.5 • Published 4 years ago
mh-qa-cli v0.3.5
mh-qa-cli
A command to get MissionHub QA running
Setup
- Install homebrew https://brew.sh/#install
- Update ruby version\
Install asdf https://asdf-vm.com/#/core-manage-asdf-vm?id=install (use macOS and Homebrew instructions unless you're on a different environment)\
asdf plugin add ruby
\asdf install ruby latest
\(cd ~/code/missionhub-react-native && asdf local ruby latest)
(may have to replacelatest
with version returned by previous command) - Install yarn\
brew install yarn
Install mh-qa-cli\
yarn global add mh-qa-cli
For updates, run again with the version to upgrade to. Example:
yarn global add mh-qa-cli@0.3.3
Usage
Run mh-qa-cli
and select what you would like to do.\
If running for the first time choose 🛠️ Setup dev tools
to install dependencies.
To add translation support choose 🌌 Setup OneSky keys
.
Commands
mh-qa-cli
can be run with arguments instead of being prompted with questions. Any omitted arguments will still result in prompts.
iOS
mh-qa-cli ios <branch> <staging|production> <simulator name>
Example:\
mh-qa-cli ios master production "iPhone 8"
Android
mh-qa-cli android <branch> <staging|production>
Example:\
mh-qa-cli android master production