Skip to content

Latest commit

 

History

History

scripts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

scripts

Maintainer scripts for the FlutterProbe repository. None of them are needed to use FlutterProbe.

Script Purpose
release.sh <version> Release helper: ./scripts/release.sh 0.15.0. Only bumps VERSION, the agent pubspec and the VS Code package, then commits and tags: the rest of the checklist is in docs/ops/release-pipeline.md ("Before a release").
ci-local.sh [--all] [--job NAME] [--list] [--base REF] [--pr-text FILE] [--allow-skip] [--report FILE] [--release-dry-run] Runs the CI checks locally, for example when hosted CI is unavailable: the five checks a pull request needs, each with the commands of its workflow job. --all adds the Dart agent, Studio, VS Code extension and website checks. --pr-text FILE adds the pull request title or body to the Disclosure guard scan (repeatable). A required check whose tool is missing fails the run; --allow-skip ends it as PARTIAL instead. Exit status of a run of the checks: 0 PASS (all five required checks ran and passed on a clean tree), 1 a check failed or was not run, 2 usage error or the run could not start, 3 a required check was skipped, 4 DIRTY TREE (a changed tracked file, an untracked file git does not ignore, a file hidden from git status, or a tracked file changed by a check), 5 PARTIAL (a --job selection, an allowed skip, a requested optional check that was skipped, or GOFLAGS is set), 130 interrupted. --release-dry-run runs no checks, never prints PASS and cannot be combined with --all, --job, --allow-skip, --base, --report or --pr-text; its exit status is 0 when the eight release binaries were built from a clean tree, 1 a build failed, 2 usage error, 4 DIRTY TREE. Also make ci-local and make ci-local-all. See "Run the CI checks locally" in CONTRIBUTING.md.
test-all.sh [--quick] Builds probe and probe-convert, runs the Go unit tests with -race, lint, and the probe-convert converter tests. --quick skips integration tests that need a build. The Dart agent tests run separately: cd probe_agent && flutter test.
build-mcpb.sh <binary> <platform> <version> <out-dir> Builds the Claude Desktop Extension (.mcpb) bundle for probe-mcp from mcpb/template. Run by CI on release.
setup-wiki.sh One-time: initializes the GitHub Wiki from docs/wiki/. Needs an authenticated gh with write access.
fake-cloud/ A fake hosted service and a throwaway test license, to try probe test --upload-report on one machine without GitHub Actions. See its README.
bench/ Comparison benchmarks (run-comparison.sh, summarize.py).
licensecheck/ The dependency licence check of dependabot-compat.yml: reads the SPDX expression of each dependency (license-checker --json for npm, go-licenses report for Go) and fails a package when a GPL, AGPL, SSPL or EUPL licence is mandatory for it; LGPL, unknown and custom licences are notes, and allowlist.txt holds the reviewed ones with a reason each. go test ./scripts/licensecheck/ is its self-test, run by the required Go tests and by the workflow. Dart and Flutter (pub) packages are not under it: the agent and the fixture apps depend on pub packages (probe_agent/pubspec.yaml, native-test-apps/*/pubspec.yaml), and their licences are not checked by this tool.