add make command to scaffold test data

This commit is contained in:
2026-01-18 02:13:56 +00:00
parent e9225b0018
commit bd4eb84d02
7 changed files with 100 additions and 5 deletions
+10 -3
View File
@@ -1,7 +1,8 @@
.PHONY: build test run clean
.PHONY: build test run clean scaffold
BINARY_NAME=mend
BUILD_DIR=bin
DATA_DIR=test_data
build:
@mkdir -p $(BUILD_DIR)
@@ -10,8 +11,14 @@ build:
test:
go test ./...
run:
go run .
scaffold:
./scripts/scaffold_data.sh
run: scaffold
go run . $(DATA_DIR)
clean:
rm -rf $(BUILD_DIR)
clean-data:
rm -rf $(DATA_DIR)