upd scaffold and makefile

This commit is contained in:
2024-12-02 02:06:35 +00:00
parent 84312b157c
commit c3fa7d0ff8
2 changed files with 10 additions and 5 deletions

View File

@@ -16,10 +16,12 @@ vet: fmt
$(GO) vet ./...
build: vet | $(BIN_DIR)
$(GO) build -o $(EXE) .
$(GO) build -o $(EXE) ./cmd/cli/
bench:
$(GO) test . -test.count=10 -bench=. > benchmark
$(GO) test ./internal/one/ -bench=. > internal/one/benchmark
$(GO) test ./internal/two/ -bench=. > internal/two/benchmark
$(GO) test . -count=10 -bench=. > benchmark
$(BIN_DIR):
@mkdir -p $@