feat: dedup and format the output
This commit is contained in:
8 files changed
+153
-54
No files matched your search
@@ -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 ./...
|
||||
Reference in new issue
Block a user