mirror of
https://github.com/onyx-and-iris/aoc2024.git
synced 2026-04-08 18:13:36 +00:00
upd scaffold and makefile
This commit is contained in:
@@ -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 $@
|
||||
|
||||
Reference in New Issue
Block a user