baligo極簡(jiǎn) Golang 構(gòu)建打包工具
Baligo - 使用 Golang 重新實(shí)現(xiàn)的 Bali。極簡(jiǎn) Golang 構(gòu)建打包工具 ,Gitee 官方使用。
特性:
- 創(chuàng)建壓縮包
- 創(chuàng)建 POSIX STGZ 安裝包,安裝包支持二進(jìn)制回歸,安裝過(guò)程中不會(huì)覆蓋配置文件。
- 環(huán)境變量傳遞
- 支持交叉編譯
- Windows 平臺(tái)支持嵌入版本信息,圖標(biāo)以及應(yīng)用程序清單
bali 的命令行幫助信息如下:
Bali - Minimalist Golang build and packaging tool usage: ./build/bin/bali <option> args ... -h|--help Show usage text and quit -v|--version Show version number and quit -V|--verbose Make the operation more talkative -F|--force Turn on force mode. eg: Overwrite configuration file -w|--workdir Specify bali running directory. (Position 0, default $PWD) -a|--arch Build arch: amd64 386 arm arm64 -t|--target Build target: windows linux darwin ... -o|--out Specify build output directory. default '$PWD/build' -d|--dest Specify the path to save the package -z|--zip Create archive file (UNIX: .tar.gz, Windows: .zip) -p|--pack Create installation package (UNIX: STGZ, Windows: none) --cleanup Cleanup build directory --no-rename Disable file renaming (STGZ installation package, default: OFF)
評(píng)論
圖片
表情
