Skip to content

Commit

Permalink
[+] Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
WangYihang committed Jul 15, 2021
1 parent 668a8b5 commit 746078a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ install_dependency:
# upx
sudo apt install -y upx

install_dependency_github_action:
sudo apt install go-bindata

prepare:
bash -c "[[ -d termites ]] || mkdir termites"
bash -c "[[ -d build ]] || mkdir build"
Expand All @@ -41,7 +44,7 @@ build_platypus: collect_resource
env go build -o build/platypus platypus.go
find build -type f -executable | xargs upx

release: collect_resource
release: install_dependency_github_action collect_resource
env GOOS=linux GOARCH=amd64 go build -o ./build/Platypus_linux_amd64 platypus.go
env GOOS=darwin GOARCH=amd64 go build -o ./build/Platypus_darwin_amd64 platypus.go
env GOOS=windows GOARCH=amd64 go build -o ./build/Platypus_windows_amd64.exe platypus.go
Expand Down

0 comments on commit 746078a

Please sign in to comment.