SPB Git

Repository Public

build.sh 615 B 11 lines shellscript

1#!/usr/bin/env bash2# Author: Simon-Pierre Boucher — contact@spboucher.ai3# File: Scripts/build.sh4# Description: Generates the Xcode project and builds the Debug app (errors only on the console).5set -uo pipefail6cd "$(dirname "$0")/.."7xcodegen generate --quiet8xcodebuild -project SPMusic.xcodeproj -scheme SPMusic -configuration "${1:-Debug}" -derivedDataPath Build/DerivedData build 2>&1 | sed 's/\x1b\[[0-9;]*m//g' > Build/build.log9grep -E "error:|warning: unre|BUILD" Build/build.log | sed -E "s#$PWD/##" | grep -v "^ *|" | sort -u | cut -c1-260 | head -${2:-50}10grep -q "BUILD SUCCEEDED" Build/build.log11
Files main
Menu

Theme