Skip to content

Commit 746078a

Browse files
committed
[+] Update Makefile
1 parent 668a8b5 commit 746078a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ install_dependency:
1717
# upx
1818
sudo apt install -y upx
1919

20+
install_dependency_github_action:
21+
sudo apt install go-bindata
22+
2023
prepare:
2124
bash -c "[[ -d termites ]] || mkdir termites"
2225
bash -c "[[ -d build ]] || mkdir build"
@@ -41,7 +44,7 @@ build_platypus: collect_resource
4144
env go build -o build/platypus platypus.go
4245
find build -type f -executable | xargs upx
4346

44-
release: collect_resource
47+
release: install_dependency_github_action collect_resource
4548
env GOOS=linux GOARCH=amd64 go build -o ./build/Platypus_linux_amd64 platypus.go
4649
env GOOS=darwin GOARCH=amd64 go build -o ./build/Platypus_darwin_amd64 platypus.go
4750
env GOOS=windows GOARCH=amd64 go build -o ./build/Platypus_windows_amd64.exe platypus.go

0 commit comments

Comments
 (0)