forked from Mikescher/better-docker-ps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
47 lines (37 loc) · 2.11 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
build:
CGO_ENABLED=0 go build -o _out/dops ./cmd/dops
run: build
./_out/dops
clean:
go clean
rm ./_out/*
package:
go clean
rm -rf ./_out/*
GOARCH=386 GOOS=linux CGO_ENABLED=0 go build -o _out/dops_linux-386-static ./cmd/dops # Linux - 32 bit
GOARCH=amd64 GOOS=linux CGO_ENABLED=0 go build -o _out/dops_linux-amd64-static ./cmd/dops # Linux - 64 bit
GOARCH=arm64 GOOS=linux CGO_ENABLED=0 go build -o _out/dops_linux-arm64-static ./cmd/dops # Linux - ARM
GOARCH=386 GOOS=linux go build -o _out/dops_linux-386 ./cmd/dops # Linux - 32 bit
GOARCH=amd64 GOOS=linux go build -o _out/dops_linux-amd64 ./cmd/dops # Linux - 64 bit
GOARCH=arm64 GOOS=linux go build -o _out/dops_linux-arm64 ./cmd/dops # Linux - ARM
GOARCH=amd64 GOOS=darwin go build -o _out/dops_macos-amd64 ./cmd/dops # macOS - 32 bit
GOARCH=amd64 GOOS=darwin go build -o _out/dops_macos-amd64 ./cmd/dops # macOS - 64 bit
GOARCH=amd64 GOOS=openbsd go build -o _out/dops_openbsd-amd64 ./cmd/dops # OpenBSD - 64 bit
GOARCH=arm64 GOOS=openbsd go build -o _out/dops_openbsd-arm64 ./cmd/dops # OpenBSD - ARM
GOARCH=amd64 GOOS=freebsd go build -o _out/dops_freebsd-amd64 ./cmd/dops # FreeBSD - 64 bit
GOARCH=arm64 GOOS=freebsd go build -o _out/dops_freebsd-arm64 ./cmd/dops # FreeBSD - ARM
_data/package-data/aur-git.sh
_data/package-data/aur-bin.sh
_data/package-data/homebrew.sh
echo ""
echo "[TODO]: call 'make package-push-aur-git' "
echo "[TODO]: call 'make package-push-aur-bin' "
echo "[TODO]: call 'make package-push-homebrew' "
echo "[TODO]: create github release"
echo ""
package-push-aur-git:
cd _out/dops-git && git push
package-push-aur-bin:
cd _out/dops-bin && git push
package-push-homebrew:
cd _out/homebrew-tap && git push