Skip to content

Latest commit

 

History

History
69 lines (46 loc) · 1.12 KB

DEVELOPING.md

File metadata and controls

69 lines (46 loc) · 1.12 KB

Developing

Running tests

From the command line:

./scripts/tests.sh

Or press Cmd+U in Xcode.

Adding pre-commit hooks

Ensure pre-commit is installed:

brew install pre-commit

Install the hooks:

pre-commit install

To manually run formatters on all files:

pre-commit run --all-files

Generating screenshots

Install fastlane:

brew install fastlane

Run the screenshots script:

./scripts/screenshots.sh

Regenerating words list

./scripts/gen_words.sh

Bumping version and build number

Replace X with release number.

./scripts/bump.sh 2020.X

Releasing

  1. Bump version: ./scripts/bump.sh 2020.X.
  2. Push: git push --tags origin master
  3. In Xcode, choose the "Fingerspelling" scheme and "Generic iOS Device" as the device.
  4. Click Product > Archive and wait for the build to finish (this takes a while).
  5. Click "Distribute app". Hit Next through the following Menus.
  6. Add a new version on App Store Connect. If necessary, regenerate snapshots (see above) and upload them.
  7. Submit the new version.