diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2025-07-22 15:41:03 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2025-07-22 15:41:03 -0400 |
| commit | 344c6526a8d6f490fc7628ddc7d2dd06ed1a07c1 (patch) | |
| tree | 342878ff5d77b557533d6e5473e1d8f6e79ac6e9 /makefile | |
| parent | faf35ef54885bc48b897508ce3cb40b868ff505b (diff) | |
Separate program entry point from commands
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ BINS := atlas -SRC := $(wildcard cmd/*.go) $(wildcard pkg/*/*.go) +SRC := main.go $(wildcard cmd/*.go) $(wildcard pkg/*/*.go) INSTALL_PATH := ~/.local/bin .PHONY: all install uninstall test info clean @@ -7,7 +7,7 @@ INSTALL_PATH := ~/.local/bin all: $(BINS) atlas: $(SRC) - go build -o $@ $(wildcard ./cmd/*.go) + go build -o $@ $< test: go test ./... |
