Skip to content

Commit

Permalink
Merge pull request #59 from winebarrel/add_Makefile
Browse files Browse the repository at this point in the history
Add Makefile
  • Loading branch information
winebarrel authored Nov 3, 2024
2 parents c169654 + 746ecf8 commit 70627fa
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 70627fa

Please sign in to comment.