返回 CodeWhale
build.sh
根目录 / pet / ios / build.sh
1 #!/bin/sh
2 set -eu
3 cd "$(dirname "$0")"
4 node ../scripts/build-pet.mjs --apple
5 xcodegen generate --spec project.yml
6 xcodebuild -project CodewhalePet.xcodeproj -scheme CodewhalePet -configuration Debug -sdk iphonesimulator -destination 'generic/platform=iOS Simulator' -derivedDataPath build -disableAutomaticPackageResolution CODE_SIGNING_ALLOWED=NO build
7
7 lines BASH