Skip to content

Commit

Permalink
fix makefile
Browse files Browse the repository at this point in the history
Signed-off-by: zwwhdls <zww@hdls.me>
  • Loading branch information
zwwhdls committed Dec 10, 2024
1 parent 11241ef commit 6b2f68c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ friday:
go version
go build -ldflags="$(LDFLAGS)" -o bin/friday cmd/main.go

friday.linux:
GOOS=linux GOARCH=amd64 go build -ldflags="$(LDFLAGS)" -o bin/friday-linux cmd/main.go
friday.amd:
GOOS=linux GOARCH=amd64 go build -ldflags="$(LDFLAGS)" -o bin/friday-amd cmd/main.go

friday.arm:
GOOS=linux GOARCH=arm64 go build -ldflags="$(LDFLAGS)" -o bin/friday-arm cmd/main.go

test:
@go test ./...

0 comments on commit 6b2f68c

Please sign in to comment.