Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Hopefully™ fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
BomberFish committed Jul 12, 2023
1 parent 921acad commit 1069994
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,19 @@ WORKING_LOCATION := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
TARGET = AppCommander
CONFIGURATION = Release
SDK = iphoneos
KEYFILE := ./APIKeys.swift
KEYVAR := ${TELEMETRYDECK_APPID}


build:

@if [ ! -f $(KEYFILE) ]; then \
echo "import Foundation\nlet telemetryDeckID = \"$(KEYVAR)\"" > $(KEYFILE); \
echo "App ID written to file."; \
else \
echo "App ID file already exists."; \
fi

echo "Building $(TARGET) for $(SDK)..."
xcodebuild -project $(PROJECT) -scheme $(TARGET) -configuration $(CONFIGURATION) -sdk $(SDK) CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO SYMROOT=$(PWD)/build clean
xcodebuild -project $(PROJECT) -scheme $(TARGET) -configuration $(CONFIGURATION) -sdk $(SDK) CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO SYMROOT=$(PWD)/build -resolvePackageDependencies
Expand Down

0 comments on commit 1069994

Please sign in to comment.