Skip to content

Commit

Permalink
add make mod
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDen committed Sep 3, 2023
1 parent 7fffbf9 commit a150484
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
.DEFAULT_GOAL := build
BINARY_NAME=galvani

mod:
go mod tidy
go mod vendor

compile:
mkdir -p Galvani.app/Contents/MacOS/ || true
CGO_ENABLED=1 GOARCH=amd64 GOOS=darwin go build -ldflags="-s -w" -v -o ./bin/${BINARY_NAME}-darwin-amd64 main.go
Expand Down

0 comments on commit a150484

Please sign in to comment.