native macOS codings agent orchestrator
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #153 from onevcat/feature/cli-universal-binary

feat(cli): build universal binary for release CLI

authored by

Wei Wang and committed by
GitHub
22f70427 97fab92c

+3 -3
+3 -3
Makefile
··· 94 94 build-cli: sync-cli-version # Build Swift CLI binary (SPM) 95 95 swift build --product prowl 96 96 97 - build-cli-release: sync-cli-version # Build CLI binary in release mode 98 - swift build -c release --product prowl 97 + build-cli-release: sync-cli-version # Build universal CLI binary in release mode 98 + swift build -c release --arch arm64 --arch x86_64 --product prowl 99 99 100 100 embed-cli-debug: build-cli # Build debug CLI and copy into Resources for dev builds 101 101 @set -euo pipefail; \ ··· 108 108 109 109 embed-cli: build-cli-release # Build release CLI and copy into Resources for distribution 110 110 @set -euo pipefail; \ 111 - bin="$$(swift build -c release --show-bin-path)/prowl"; \ 111 + bin="$$(swift build -c release --arch arm64 --arch x86_64 --show-bin-path)/prowl"; \ 112 112 dst="$(CURRENT_MAKEFILE_DIR)/Resources/prowl-cli"; \ 113 113 mkdir -p "$$dst"; \ 114 114 cp "$$bin" "$$dst/prowl"; \