forked from opentibiabr/client-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
19 lines (16 loc) · 781 Bytes
/
Makefile
File metadata and controls
19 lines (16 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
all:
go run main.go
test:
go build main.go && chmod +x main && ./main ~/Downloads/client.exe https://open.tibia.io/login.php
build:
GOOS=windows GOARCH=386 go build -o client-editor-windows-x86.exe main.go
GOOS=windows GOARCH=amd64 go build -o client-editor-windows-x64.exe main.go
GOOS=linux GOARCH=386 go build -o client-editor-linux-x86 main.go
GOOS=linux GOARCH=amd64 go build -o client-editor-linux-x64 main.go
GOOS=darwin GOARCH=amd64 go build -o client-editor-darwin-x64 main.go
GOOS=darwin GOARCH=arm64 go build -o client-editor-darwin-arm64 main.go
zip client-editor-windows.zip client-editor-windows-* *.key
zip client-editor-linux.zip client-editor-linux-* *.key
zip client-editor-darwin.zip client-editor-darwin-* *.key
clean:
rm -f *.zip client-editor