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
: Usesesbuild
to compile the scripts inclient
build/client-watch.sh
: Builds the TypeScript resources, then watches for changes viawatchexec
build/desktop.sh
: Usestools/desktop
to 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
: Runsgoreleaser
build/release-test.sh
: Runsgoreleaser
in 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 approf
server using the (previously-recorded) CPU profile at./tmp/cpu.pprof
util/view-go-deps.sh
: Usesgomod
to visualize the module graphutil/view-mem-profile.sh
: Starts approf
server using the (previously-recorded) heap dump at./tmp/mem.pprof
workspace.sh
: Loadsdev.sh
andclient-watch.sh
in a split window. Requires iTerm