jellyflood/.claude/commands/build.md

1.5 KiB

description
Build jellypig tvOS (debug or release)

Build jellypig tvOS for the simulator. Takes an optional configuration argument:

  • debug (default) - Fast build with debugging symbols
  • release - Optimized build for distribution

Usage:

  • /build - Build in Debug configuration (default)
  • /build debug - Build in Debug configuration (explicit)
  • /build release - Build in Release configuration

Steps to execute:

  1. Parse the configuration argument (default to "debug" if not provided or invalid)
  2. Validate the configuration is either "debug" or "release" (case-insensitive)
  3. Run xcodebuild with the specified configuration:
    cd /Users/ashikkizhakkepallathu/Documents/claude/jellypig/jellypig
    
    # For debug:
    xcodebuild -project jellypig.xcodeproj \
      -scheme "jellypig tvOS" \
      -sdk appletvsimulator \
      -configuration Debug \
      -derivedDataPath ./DerivedData \
      clean build \
      CODE_SIGNING_ALLOWED=NO
    
    # For release:
    xcodebuild -project jellypig.xcodeproj \
      -scheme "jellypig tvOS" \
      -sdk appletvsimulator \
      -configuration Release \
      -derivedDataPath ./DerivedData \
      clean build \
      CODE_SIGNING_ALLOWED=NO
    
  4. Report build status (success or failure)
  5. Display the output path of the built app

Expected output location:

  • Debug: ./DerivedData/Build/Products/Debug-appletvsimulator/jellypig tvOS.app
  • Release: ./DerivedData/Build/Products/Release-appletvsimulator/jellypig tvOS.app