mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
include windows build
This commit is contained in:
parent
a3b67e4607
commit
10b9a6c013
9
Makefile
9
Makefile
@ -16,10 +16,11 @@ build-dev:
|
||||
|
||||
build-all:
|
||||
mkdir -p _build
|
||||
GOOS=darwin GOARCH=amd64 go build -tags release -ldflags $(LD_FLAGS) -o _build/ctop-$(VERSION)-darwin-amd64
|
||||
GOOS=linux GOARCH=amd64 go build -tags release -ldflags $(LD_FLAGS) -o _build/ctop-$(VERSION)-linux-amd64
|
||||
GOOS=linux GOARCH=arm go build -tags release -ldflags $(LD_FLAGS) -o _build/ctop-$(VERSION)-linux-arm
|
||||
GOOS=linux GOARCH=arm64 go build -tags release -ldflags $(LD_FLAGS) -o _build/ctop-$(VERSION)-linux-arm64
|
||||
GOOS=darwin GOARCH=amd64 go build -tags release -ldflags $(LD_FLAGS) -o _build/ctop-$(VERSION)-darwin-amd64
|
||||
GOOS=linux GOARCH=amd64 go build -tags release -ldflags $(LD_FLAGS) -o _build/ctop-$(VERSION)-linux-amd64
|
||||
GOOS=linux GOARCH=arm go build -tags release -ldflags $(LD_FLAGS) -o _build/ctop-$(VERSION)-linux-arm
|
||||
GOOS=linux GOARCH=arm64 go build -tags release -ldflags $(LD_FLAGS) -o _build/ctop-$(VERSION)-linux-arm64
|
||||
GOOS=windows GOARCH=amd64 go build -tags release -ldflags $(LD_FLAGS) -o _build/ctop-$(VERSION)-windows-amd64
|
||||
cd _build; sha256sum * > sha256sums.txt
|
||||
|
||||
image:
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build !darwin
|
||||
// +build linux
|
||||
|
||||
package collector
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build !darwin
|
||||
// +build linux
|
||||
|
||||
package collector
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build !darwin
|
||||
// +build linux
|
||||
|
||||
package connector
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user