10 lines
310 B
Bash
10 lines
310 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
mkdir -p builds
|
||
|
|
||
|
rm builds/*
|
||
|
|
||
|
go tool dist list | grep -v android | grep -v ios | grep -v wasip1 | awk -F '/' '{printf "echo Compiling %s/%s; env CGO_ENABLED=1 GOOS=%s GOARCH=%s go build -o builds/rowboz.%s-%s\n",$1,$2,$1,$2,$1,$2 }' | sh
|
||
|
|
||
|
cd builds
|
||
|
for i in `ls *windows*`; do mv -v $i $i.exe; done
|