mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
This PR brings in the apple client into the monorepo. --------- Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
18 lines
566 B
Makefile
18 lines
566 B
Makefile
# Creates a macOS debug build
|
|
|
|
PLATFORM=macOS
|
|
ARCH=$(shell uname -m)
|
|
|
|
build-macos:
|
|
echo "Building debug build for ${PLATFORM}, ${ARCH}"
|
|
cd ../../rust/connlib/clients/apple && rm -rf ./Connlib.xcframework && ./build-rust.sh && ./build-xcframework-dev.sh
|
|
@xcodebuild build -scheme Firezone -sdk macosx -destination 'platform=${PLATFORM},arch=${ARCH}'
|
|
|
|
clean:
|
|
@xcodebuild clean -scheme Firezone -sdk macosx -destination 'platform=${PLATFORM},arch=${ARCH}'
|
|
cd ../../rust/connlib/clients/apple && rm -rf ./Connlib.xcframework
|
|
|
|
.PHONY: format
|
|
format:
|
|
@swiftformat .
|