зеркало из https://github.com/mozilla/mig.git
Build: better default
This commit is contained in:
Родитель
749998fe0e
Коммит
d08722c744
9
build.sh
9
build.sh
|
@ -8,13 +8,12 @@ source ~/Code/golang-crosscompile/crosscompile.bash
|
|||
|
||||
export GOPATH="$GOROOT/bin:$(pwd)"
|
||||
export GOBIN="$(pwd)/bin"
|
||||
ALLPLATFORMS="darwin/386 darwin/amd64 freebsd/386 freebsd/amd64 freebsd/arm linux/386 linux/amd64 linux/arm windows/386 windows/amd64"
|
||||
LINUX64="linux/amd64"
|
||||
|
||||
PLATFORMS="linux/amd64"
|
||||
if [ "$1" == "all" ]; then
|
||||
PLATFORMS=$ALLPLATFORMS
|
||||
else
|
||||
PLATFORMS=$LINUX64
|
||||
PLATFORMS="darwin/386 darwin/amd64 freebsd/386 freebsd/amd64 freebsd/arm linux/386 linux/amd64 linux/arm windows/386 windows/amd64"
|
||||
fi
|
||||
|
||||
for platform in $PLATFORMS
|
||||
do
|
||||
echo "Target platform $platform"
|
||||
|
|
Загрузка…
Ссылка в новой задаче