Skip to content

Commit

Permalink
文件名变更
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason committed Dec 9, 2023
1 parent bafcdfe commit 4f71ab3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@

# macos arm64
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o mint main.go
tar czvf "evm铭文mint脚本-macos-arm64".tar.gz mint settings.yml 使用说明.txt
tar czvf "evm-inscriptions_-macos-arm64".tar.gz mint settings.yml 使用说明.txt
rm -f mint

sleep 3

# macos amd64
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o mint main.go
tar czvf "evm铭文mint脚本-macos-amd64".tar.gz mint settings.yml 使用说明.txt
tar czvf "evm-inscriptions-macos-amd64".tar.gz mint settings.yml 使用说明.txt
rm -f mint

sleep 3

# 交叉编译windows
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o mint.exe main.go
tar czvf "evm铭文mint脚本-windows".tar.gz mint.exe settings.yml 使用说明.txt
tar czvf "evm-inscriptions-windows".tar.gz mint.exe settings.yml 使用说明.txt
rm -f mint.exe

sleep 3

# 交叉编译linux
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o mint main.go
tar czvf "evm铭文mint脚本-linux-amd64".tar.gz mint settings.yml 使用说明.txt
tar czvf "evm-inscriptions-linux-amd64".tar.gz mint settings.yml 使用说明.txt
rm -f mint

0 comments on commit 4f71ab3

Please sign in to comment.