process
This commit is contained in:
6
Makefile
6
Makefile
@@ -3,7 +3,9 @@ export DATE := $(shell date +%Y%m%d-%H:%M:%S)
|
||||
export COMPILE_LDFLAGS='-s -w -X "main.BuildDate=${DATE}" '
|
||||
out:
|
||||
GOOS=darwin GOARCH=arm64 go build -o bin/sjy01-preprocessing-darwin-arm64 -ldflags=${COMPILE_LDFLAGS} *.go
|
||||
# GOOS=linux GOARCH=amd64 go build -o bin/sjy01-preprocessing -ldflags=${COMPILE_LDFLAGS} *.go
|
||||
|
||||
clean:
|
||||
rm -rf ./bin/*
|
||||
rm -rf ./bin/*
|
||||
|
||||
linux:
|
||||
GOOS=linux GOARCH=amd64 go build -o bin/sjy01-preprocessing -ldflags=${COMPILE_LDFLAGS} *.go
|
||||
|
||||
Reference in New Issue
Block a user