default:
  @just build

build:
  if [ ! -d "Sybil.xcodeproj" ]; then xcodegen --spec project.yml; fi
  if command -v xcbeautify >/dev/null 2>&1; then \
    xcodebuild -scheme Sybil -destination 'platform=iOS Simulator,name=iPhone 16e,OS=latest' | xcbeautify; \
  else \
    xcodebuild -scheme Sybil -destination 'platform=iOS Simulator,name=iPhone 16e,OS=latest'; \
  fi
