Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
practice-golang committed Mar 26, 2024
1 parent 3f31e07 commit 71c8dbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
bin/
upload/*
!upload/.gitkeep
vendor/
coverage.out
coverage.html
/codecov.*
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
build:
go build -ldflags "-w -s" -trimpath -o bin/ ./cmd

build-vendor:
go work vendor
go build -mod vendor -ldflags "-w -s" -trimpath -o bin/ ./cmd

debug:
go build -o bin/ ./cmd

Expand Down

0 comments on commit 71c8dbe

Please sign in to comment.