Skip to content

Commit

Permalink
feat(make): add install command
Browse files Browse the repository at this point in the history
  • Loading branch information
mathcale committed Jul 8, 2024
1 parent 1066c14 commit 90b1750
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: build test tidy clean-tokens clean-config clean-all
.PHONY: build test tidy clean-tokens clean-config clean-all install

build:
@go build -ldflags="-w -s -buildid=" -trimpath -o ./bin/setlist-to-playlist ./cmd/cli/main.go
Expand All @@ -16,3 +16,6 @@ clean-config:
rm -rf ~/.config/setlist-to-playlist/config.toml

clean-all: clean-tokens clean-config

install: build
@cp ./bin/setlist-to-playlist ~/.local/bin

0 comments on commit 90b1750

Please sign in to comment.