]> Cypherpunks repositories - gostls13.git/commitdiff
iostest.bash: run detect.go as part of iostest
authorDavid Crawshaw <crawshaw@golang.org>
Wed, 15 Apr 2015 19:03:41 +0000 (15:03 -0400)
committerDavid Crawshaw <crawshaw@golang.org>
Thu, 16 Apr 2015 12:59:54 +0000 (12:59 +0000)
Change-Id: I402629b154ae36c879a8d5088cb0f71b075f31dc
Reviewed-on: https://go-review.googlesource.com/8958
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/iostest.bash

index 865678f1daacae6477b055cc90efd3d43ce70efa..5e0989485200380d4a648f6934750db84485a63c 100755 (executable)
@@ -60,5 +60,10 @@ GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH go build \
        -o ../bin/go_darwin_${GOARCH}_exec \
        ../misc/ios/go_darwin_arm_exec.go
 
+if [ "$GOIOS_DEV_ID" == "" ]; then
+       echo "detecting iOS development identity"
+       eval $(GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH go run ../misc/ios/detect.go)
+fi
+
 # Run standard build and tests.
 ./all.bash --no-clean