Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ jobs:
with:
go-version: 'stable'
- run: go test -count=1 ./...
- run: go run ./cmd/normalizer demo --out ./out/demo
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: test fmt build demo clean
.PHONY: test fmt build demo verify clean

VERSION ?= dev

Expand All @@ -12,8 +12,10 @@ build:
mkdir -p bin
go build -ldflags "-X main.version=$(VERSION)" -o bin/normalizer ./cmd/normalizer

demo: build
./bin/normalizer demo --out ./out/demo
demo:
go run ./cmd/normalizer demo --out ./out/demo

verify: test demo

clean:
rm -rf ./bin ./out
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ Deterministic CSV normalizer + validator.
- `errors.csv`
- `report.json`

## Canonical commands

```bash
# Proof gate (one command)
make verify

# Proof gates (portable, no Makefile)
go test -count=1 ./...
go run ./cmd/normalizer demo --out ./out/demo
```

## Quickstart

```bash
Expand Down
11 changes: 11 additions & 0 deletions docs/HANDOFF.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

This tool normalizes CSV inputs deterministically and produces a clean output + an error file.

## Canonical commands

```bash
# Proof gate (one command)
make verify

# Proof gates (portable, no Makefile)
go test -count=1 ./...
go run ./cmd/normalizer demo --out ./out/demo
```

## Build

```bash
Expand Down
Loading