scripts/

directory
v1.0.53-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2026 License: Apache-2.0

README

Go Bootstrap Scripts

These repo-local entrypoints are the supported shell entrypoints for building, testing, packaging, and policy checks.

  • make build: build the dws CLI from cmd
  • make test: run go test ./...
  • make lint: run formatting checks and required golangci-lint
  • make fmt: format Go source files under cmd/, internal/, and test/
  • make policy: reuse the current dws binary and run the complete policy suite (make build first)
  • make package: build all release artifacts locally via goreleaser --snapshot
  • make release: build and publish a release via goreleaser

Script groups:

  • Root installers: ./scripts/install.sh, ./scripts/install.ps1, ./scripts/install-skills.sh
  • Product convenience installers: ./scripts/install-devapp.sh, ./scripts/install-devapp.ps1, ./scripts/install-event.sh
  • Dev helpers: ./scripts/dev/build.sh, ./scripts/dev/lint.sh, ./scripts/dev/ci-local.sh, ./scripts/dev/run-mock-e2e.sh, ./scripts/dev/coverage.sh
  • Policy checks: ./scripts/policy/check-schema-command-registry.sh, ./scripts/policy/check-generated-drift.sh, ./scripts/policy/check-command-surface.sh, ./scripts/policy/check-schema-catalog.sh, ./scripts/policy/check-schema-binary.sh, ./scripts/policy/check-open-source-assets.sh
  • Policy runtime files: set DWS_POLICY_TMPDIR to override the default .worktrees/policy-tmp workspace
  • Release helpers: ./scripts/release/post-goreleaser.sh, ./scripts/release/verify-package-managers.sh, ./scripts/release/publish-homebrew-formula.sh

Directories

Path Synopsis
policy
coverage-gate command
Command coverage-gate enforces non-regressing overall coverage and a strict threshold for executable statements changed by the current PR.
Command coverage-gate enforces non-regressing overall coverage and a strict threshold for executable statements changed by the current PR.
interface-baseline command
Command interface-baseline snapshots and checks the backwards-compatible public Cobra surface of DWS CLI.
Command interface-baseline snapshots and checks the backwards-compatible public Cobra surface of DWS CLI.
schema-compat command
Command schema-compat normalizes and checks the backwards-compatible execution contract returned by `dws schema --all --format json`.
Command schema-compat normalizes and checks the backwards-compatible execution contract returned by `dws schema --all --format json`.
skill-command-check command
Command skill-command-check verifies that executable `dws ...` references in published skill Markdown resolve against the current Cobra command tree.
Command skill-command-check verifies that executable `dws ...` references in published skill Markdown resolve against the current Cobra command tree.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL