feat: dedup and format the output

This commit is contained in:
ytshih committed 2026-09-05 22:35:23 +08:00
1 parent eadc7e806b
commit 521588f992
8 files changed
+153 -54

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
BINARY := stonks
PREFIX := $(HOME)/.local/bin
.PHONY: build install clean vet fmt test
build:
go build -o $(BINARY) ./cmd/stonks
install: build
mkdir -p $(PREFIX)
install -m 0755 $(BINARY) $(PREFIX)/$(BINARY)
clean:
rm -f $(BINARY)
vet:
go vet ./...
fmt:
gofmt -l .
test:
go test ./...