[settings] enable_tools = [ "go:golang.org/x/perf/cmd/benchstat", "go:github.com/microsoft/TypeScript/tsc/cmd/tsc", ] # Same source commit as the locked TypeScript npm package, built for Android. [tools."go:github.com/microsoft/TypeScript/tsc/cmd/tsc"] version = "v0.0.0-20261003173701-50d70a3f5f45" # Limit build pressure and omit debug metadata on storage-constrained devices. install_env = { GOFLAGS = "-p=2 -gcflags=all=-dwarf=false -ldflags=-s", GOMAXPROCS = "2", GOTOOLCHAIN = "local" } [tasks.e2e] description = "Run browser E2E through Debian PRoot" depends = [] run = "node scripts/e2e_android.ts" # npm prepends node_modules/.bin, so call Mise's native compiler directly. [tasks.build] description = "Typecheck and statically validate extensions with Android-native TS7" depends = ["install"] usage = ''' arg "[extensions]" var=#true ''' run = [ "tsc -b", '''node scripts/extensions.ts check{% for extension in usage.extensions %} "{{ extension }}"{% endfor %}''', ] [tasks.check] description = "Typecheck with Android-native TS7 and run static extension checks" depends = ["install"] run = [ "tsc -b", "node scripts/check_skills.ts", "node scripts/test_extensions_static_check.ts", "node scripts/extensions.ts check", "node scripts/compatibility.ts", "node scripts/readme/banners.ts --check", { task = "//:check-readmes" }, ]