File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 1818
1919dist /
2020
21- inotify-proxy
22-
23- inotify-proxy.yaml
21+ inotify-proxy-linux- *
22+ inotify-proxy.yaml
Original file line number Diff line number Diff line change 55 goarch :
66 - 386
77 - amd64
8+ - arm64
89 ldflags :
910 - -s -w -X main.Version={{ .Env.GITHUB_REF_SLUG }}
Original file line number Diff line number Diff line change @@ -5,10 +5,14 @@ LDFLAGS="-ldflags=-s -w -X 'main.Version=dev-linux'"
55format :
66 go fmt ./...
77
8- linux :
9- GOOS=linux GOARCH=amd64 go build -o inotify-proxy $(LDFLAGS ) inotify-proxy.go
8+ build-linux-amd64 :
9+ GOOS=linux GOARCH=amd64 go build -o inotify-proxy-linux-amd64 $(LDFLAGS ) inotify-proxy.go
10+
11+ build-linux-arm64 :
12+ GOOS=linux GOARCH=amd64 go build -o inotify-proxy-linux-arm64 $(LDFLAGS ) inotify-proxy.go
1013
1114test :
12- GOOS=linux GOARCH=amd64 go test -v ./...
15+ go test -v ./...
1316
14- all : format test linux
17+ build : build-linux-amd64 build-linux-arm64
18+ all : format test build
You can’t perform that action at this time.
0 commit comments