Skip to content

Commit

Permalink
Added Makefile and build command.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kugelschieber committed Oct 4, 2024
1 parent 155e75e commit 513bee6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.idea/
test/test.json
main
consub
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.PHONY: build

build:
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags "-s -w" cmd/main.go
mv main consub

0 comments on commit 513bee6

Please sign in to comment.