Scripts
There’s a variety of shell scripts available in ./bin. Here’s a few of them:
bootstrap.sh: Downloads and installs the Go libraries and tools needed in other scriptsbuild/android.sh: Builds the Android library and applicationbuild/build.sh: Builds the app (or just use make build)build/client.sh: Usesesbuildto compile the scripts inclientbuild/client-watch.sh: Builds the TypeScript resources, then watches for changes viawatchexecbuild/desktop.sh: Usestools/desktopto build a desktop applicationbuild/desktop-release.sh: Meant to be run as part of the release process, builds desktop appsbuild/ios.sh: Builds the iOS framework and applicationbuild/release.sh: Runsgoreleaserbuild/release-test.sh: Runsgoreleaserin test modecheck.sh: Runs code statistics, checks for outdated dependencies, then runs lintersdev.sh: Starts the app, reloading on changesformat.sh: Formatting code from all projectstag.sh: Tags the git repo using the first argument or the incremented minor versiontemplates.sh: Builds all the templates using quicktemplate, skipping if unchangedtest.sh: Runs all the testsutil/view-binary-size.sh: Visualizes space usage for the release binaryutil/view-cpu-profile.sh: Starts approfserver using the (previously-recorded) CPU profile at./tmp/cpu.pprofutil/view-go-deps.sh: Usesgomodto visualize the module graphutil/view-mem-profile.sh: Starts approfserver using the (previously-recorded) heap dump at./tmp/mem.pprofworkspace.sh: Loadsdev.shandclient-watch.shin a split window. Requires iTerm