-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from SCENEE/modify-upload-bitcode-default
Modify the default of ExportOptions.UploadBitcode
- Loading branch information
Showing
11 changed files
with
118 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash -eu | ||
|
||
trap "relax keychain reset" EXIT | ||
|
||
test/setup.sh | ||
|
||
echo "Run go tests" | ||
|
||
>/dev/null pushd go | ||
export GOPATH="$PWD" | ||
go get ./src/relparser/relfile/... | ||
go test -v ./src/relparser/relfile/... | ||
go get ./src/lspp/... | ||
go test -v ./src/lspp/... | ||
>/dev/null popd | ||
|
||
test/teardown.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,14 @@ | ||
#!/bin/bash -eu | ||
|
||
if [[ $# = 0 ]]; then | ||
keychain=relax.keychain | ||
else | ||
keychain=$keychain | ||
if ! grep -q "\.keychain" <<< "$keychain"; then | ||
echo "Error: invalid keychain name($1)" | ||
echo " Please add '.keychain' extension." | ||
exit 1 | ||
fi | ||
fi | ||
|
||
if [[ -f PRIVATE ]]; then | ||
source PRIVATE # Defined 'CERTS_PASS' values | ||
fi | ||
|
||
if [[ ${DECORD_KEY:-none} = "none" || ${CERTS_PASS:-none} = "none" ]]; then | ||
echo "Error: DECORD_KEY or CERTS_PASS are not defined." | ||
exit 1 | ||
fi | ||
|
||
############################ | ||
# Set up a custom keychain # | ||
############################ | ||
|
||
relax keychain create $keychain -p relax | ||
|
||
relax dec -p "$DECORD_KEY" sample/certificates/RelaxCertificates.p12.enc | ||
|
||
relax keychain add sample/certificates/RelaxCertificates.p12 -P "$CERTS_PASS" -k $keychain -p relax | ||
|
||
trap "relax keychain reset" EXIT | ||
relax keychain use $keychain -p relax | ||
|
||
################################# | ||
# Install Provisioning Profiles # | ||
################################# | ||
|
||
relax dec -p "$DECORD_KEY" sample/certificates/Relax_Development.mobileprovision.enc | ||
relax dec -p "$DECORD_KEY" sample/certificates/Relax_AdHoc.mobileprovision.enc | ||
|
||
relax profile add sample/certificates/Relax_Development.mobileprovision | ||
relax profile add sample/certificates/Relax_AdHoc.mobileprovision | ||
test/setup.sh | ||
|
||
############ | ||
# Run Test # | ||
############ | ||
|
||
export NOCOLOR=true | ||
|
||
bats test | ||
|
||
############# | ||
# Tear down # | ||
############# | ||
|
||
relax profile rm "Relax Development" | ||
relax profile rm "Relax AdHoc" | ||
|
||
# Test `relax keychain rm` | ||
while IFS= read -r identity && [[ -n "$identity" ]] | ||
do | ||
relax keychain rm "$(echo "$identity" | awk '{ print $1 }')" -k $keychain -p relax | ||
done < <(relax keychain info sample/certificates/RelaxCertificates.p12 -P "$CERTS_PASS") | ||
|
||
relax keychain delete $keychain | ||
test/teardown.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash -eu | ||
|
||
KEYCHAIN=relax.keychain | ||
|
||
if [[ -f PRIVATE ]]; then | ||
source PRIVATE # Defined 'CERTS_PASS' values | ||
fi | ||
|
||
if [[ ${DECORD_KEY:-none} = "none" || ${CERTS_PASS:-none} = "none" ]]; then | ||
echo "Error: DECORD_KEY or CERTS_PASS are not defined." | ||
exit 1 | ||
fi | ||
|
||
############################ | ||
# Set up a custom keychain # | ||
############################ | ||
|
||
relax KEYCHAIN create $KEYCHAIN -p relax | ||
|
||
relax dec -p "$DECORD_KEY" sample/certificates/RelaxCertificates.p12.enc | ||
|
||
relax KEYCHAIN add sample/certificates/RelaxCertificates.p12 -P "$CERTS_PASS" -k $KEYCHAIN -p relax | ||
|
||
relax KEYCHAIN use $KEYCHAIN -p relax | ||
|
||
################################# | ||
# Install Provisioning Profiles # | ||
################################# | ||
|
||
relax dec -p "$DECORD_KEY" sample/certificates/Relax_Development.mobileprovision.enc | ||
relax dec -p "$DECORD_KEY" sample/certificates/Relax_AdHoc.mobileprovision.enc | ||
|
||
relax profile add sample/certificates/Relax_Development.mobileprovision | ||
relax profile add sample/certificates/Relax_AdHoc.mobileprovision | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash -eu | ||
|
||
############# | ||
# Tear down # | ||
############# | ||
|
||
KEYCHAIN=relax.keychain | ||
|
||
if [[ -f PRIVATE ]]; then | ||
source PRIVATE # Defined 'CERTS_PASS' values | ||
fi | ||
|
||
relax profile rm "Relax Development" | ||
relax profile rm "Relax AdHoc" | ||
|
||
# Test `relax keychain rm` | ||
while IFS= read -r identity && [[ -n "$identity" ]] | ||
do | ||
relax keychain rm "$(echo "$identity" | awk '{ print $1 }')" -k $KEYCHAIN -p relax | ||
done < <(relax keychain info sample/certificates/RelaxCertificates.p12 -P "$CERTS_PASS") | ||
|
||
relax keychain delete $KEYCHAIN |