Various updates.

This commit is contained in:
2026-01-08 00:18:00 -08:00
parent 6465b96e64
commit d36593c000
5 changed files with 28 additions and 25 deletions

View File

@@ -1,12 +1,17 @@
APPLE_ID := $(shell cat ./ids/APPLE_ID)
TEAM_ID := $(shell cat ./ids/TEAM_ID)
APP_SPECIFIC_PASSWORD := $(shell cat ./ids/APP_SPECIFIC_PASSWORD)
CmdBar.app:
$(MAKE) -C src FLAGS=-O CFLAGS=-O3 all
$(MAKE) -C src FLAGS=-O CFLAGS=-O3 default
container:
ditto -c -k --keepParent ./src/CmdBar.app ./build/CmdBar.zip
notarize:
xcrun notarytool submit ./build/CmdBar.zip \
--keychain-profile "notarytool-password" --wait
--apple-id "$(APPLE_ID)" --team-id "$(TEAM_ID)" \
--password "$(APP_SPECIFIC_PASSWORD)" --wait
staple:
cd build && \
@@ -27,6 +32,9 @@ dmg:
all: CmdBar.app container notarize staple zip dmg
status:
@echo 'xcrun notarytool log "" --apple-id "$(APPLE_ID)" --team-id "$(TEAM_ID)" --password "$(APP_SPECIFIC_PASSWORD)" developer_log.json'
clean:
rm -rf build