Skip to main content

Scripts


Environment Management

  • yarn clone_env {tenant-name} - Clones environment configuration files in env/prod-env
  • yarn create_env {env-name} - Creates new environment configuration files
  • yarn update_assets - Updates asset require statements

Development Scripts

  • yarn desktop - Runs the desktop application
  • yarn android - Runs the Android mobile application
  • yarn ios - Runs the iOS application in simulator
  • yarn ios-device - Runs the iOS application on a physical device

Build Scripts

  • yarn build {android|ios|desktop} - General build script
  • yarn build_tenant {tenant-name} - Builds a specific tenant configuration
  • yarn build_all_tenants - Builds configurations for all tenants
  • yarn switch_tenant {tenant-name} - Switches between different tenant submodule

Version Management

  • yarn upgrade_bundle_version {semver} - Updates the bundle version
  • yarn upgrade_fenice_version {semver} - Updates the Fenice version
  • yarn upgrade_version {tenant-name} {semver} - Custom app version upgrade script. Additionally sets the versionCode to majmajminminpatchpatch format, e.g.: 1.0.1 to 10001.

The project uses Node.js scripts (located in node_scripts/) to handle various build, deployment, and configuration tasks.


X

Graph View