From 746ecf835f9147e93bfe437bf5bb694d753a767f Mon Sep 17 00:00:00 2001 From: winebarrel Date: Sun, 3 Nov 2024 23:37:17 +0900 Subject: [PATCH] Add Makefile --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..deffbde --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +BUILD_DIR = ./build +APP_NAME = PagerCall +ARCHIVE_PATH = $(BUILD_DIR)/$(APP_NAME).xcarchive + +.PHONY: build +build: clean + xcodebuild build analyze archive \ + -destination "generic/platform=macOS" \ + -scheme $(APP_NAME) \ + -configuration Release \ + -archivePath $(ARCHIVE_PATH) + +.PHONY: clean +clean: + rm -rf $(BUILD_DIR) + +# TODO: notary