Skip to content
Source
Sign inSign up
samwillis/jerry
Open History to see the last commit

build.sh

8 lines375 Bytes

1#!/bin/zsh
2set -eu
3task_root="$(cd "$(dirname "$0")/.." && pwd)"
4task_arch="$(uname -m)"
5xcodebuild -project "$task_root/Jerry.xcodeproj" \
6 -scheme Jerry -configuration Debug -destination "platform=macOS,arch=$task_arch" \
7 -derivedDataPath "$task_root/build" ONLY_ACTIVE_ARCH=YES CODE_SIGNING_ALLOWED=NO build
8print "App: $task_root/build/Build/Products/Debug/Jerry.app"