Skip to content

Commit

Permalink
build: ✨ create build script
Browse files Browse the repository at this point in the history
  • Loading branch information
OnCloud125252 committed Apr 22, 2024
1 parent 37cc4ea commit c62b767
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
go install

go build -ldflags "-s -w" -o ./dist/ui-cli_linux_amd64_uncompressed

upx -f --best --lzma ./dist/ui-cli_linux_amd64_uncompressed -o ./dist/ui-cli_linux_amd64

0 comments on commit c62b767

Please sign in to comment.