gunk-dev/the-valley

floor.cue

source75b52b3811c7main's published tip history
802 bytes
1// The floor of the tiny policy `valley self-update` smoke-tests a build
2// with (selfupdate/). The valley package ships this directory and its
3// sibling project/ at share/valley/smoke-policy. A build passes only if its
4// `valley checks --names` derives exactly smoke-floor and smoke-project
5// from the two, for a change that edits README.md and adds src/main.go.
6// Deriving them composes a policy under the schema the build carries.
7// What these documents require is what the smoke test expects (smokeWant
8// in selfupdate/selfupdate.go), so the two change together.
9package verification
10
11floor: {
12 checks: "smoke-floor": {
13 runner: "nix"
14 attribute: "smoke-floor"
15 }
16 classes: prose: {
17 paths: "**/*.md": true
18 requires: "smoke-floor": true
19 }
20 unclassified: "smoke-floor": true
21}