Skip to content

Instantly share code, notes, and snippets.

@hhhello0507
Created March 25, 2025 12:46
Show Gist options
  • Save hhhello0507/1706c22ce2f004cafc1504888e61ef26 to your computer and use it in GitHub Desktop.
Save hhhello0507/1706c22ce2f004cafc1504888e61ef26 to your computer and use it in GitHub Desktop.
if [[ "$(uname -m)" == arm64 ]]; then
export PATH="/opt/homebrew/bin:$PATH"
fi
if which periphery > /dev/null; then
cd ../../
pwd
periphery scan --workspace ./Seugi.xcworkspace --schemes Seugi-iOS --targets Seugi-iOS DIContainer Feature Component Core Network Local --format xcode --report-exclude **/Derived/*.swift
# Domain is not included
else
echo "warning: Periphery not installed, download from https://github.com/peripheryapp/periphery"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment