From 344c6526a8d6f490fc7628ddc7d2dd06ed1a07c1 Mon Sep 17 00:00:00 2001 From: JP Appel Date: Tue, 22 Jul 2025 15:41:03 -0400 Subject: Separate program entry point from commands --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index c778a21..718df92 100644 --- a/makefile +++ b/makefile @@ -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 ./... -- cgit v1.2.3