~ knotless Search/
↑↓ move↵ open⇧↵ all results

geesawra.industries/old-fella

Old people's social media app

0
1
main
46 lines · 1.5 KB Raw History
# Bootstrap `just` once on a new Mac with: brew install just
# Then install project tooling with: just install-deps

install-deps:
    @command -v brew >/dev/null 2>&1 || { echo "Homebrew is required. Install it from https://brew.sh, then retry." >&2; exit 1; }
    @command -v xcodebuild >/dev/null 2>&1 || { echo "Xcode is required but was not found. Install Xcode from the Mac App Store, open it once, then retry." >&2; exit 1; }
    brew bundle install --file Brewfile
    @xcrun --find sourcekit-lsp >/dev/null 2>&1 || { echo "sourcekit-lsp is unavailable. Select the full Xcode installation with: sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer" >&2; exit 1; }
    ./scripts/autotag.sh --install

build:
    ./scripts/dev.sh build

sim:
    ./scripts/dev.sh sim

# List connected physical iOS devices and their UIDs.
devices:
    ./scripts/dev.sh devices

# Use the UID from `just devices` when more than one device is connected.
device uid="":
    ./scripts/dev.sh device {{quote(uid)}}

# Pass `all` to install on every connected device.
device-release uid="":
    ./scripts/dev.sh device-release {{quote(uid)}}

profile uid="" seconds="40":
    ./scripts/dev.sh profile {{quote(uid)}} {{quote(seconds)}}

test selector="":
    ./scripts/dev.sh test {{quote(selector)}}

# Run tests without explicitly opening Device Hub.
test-agent selector="":
    ./scripts/dev.sh test-agent {{quote(selector)}}

testflight:
    ./scripts/tag-release.sh testflight

release:
    ./scripts/tag-release.sh app-store

lint:
    swiftlint lint --strict