-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
63 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
0.3 | 2024-02-10 13:11:55 +0100 | ||
|
||
* Notarize distribution. | ||
|
||
0.2 | 2024-02-03 22:24:03 +0100 | ||
|
||
* Implement printing. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,29 @@ | ||
|
||
VERSION=$(shell cat VERSION) | ||
NOTARIZATION_PROFILE="App Store Connect - Notarization API Key" | ||
|
||
all: adhoc | ||
|
||
adhoc: | ||
@xcodebuild -quiet -target qlview-adhoc -configuration Release | ||
xcodebuild -quiet -target qlview-adhoc -configuration Release | ||
|
||
release: | ||
@xcodebuild -quiet -target qlview-signed -configuration Release | ||
|
||
check: release | ||
xcodebuild -quiet -target qlview-signed -configuration Release | ||
codesign --verify --verbose build/Release/qlview | ||
spctl --assess --verbose build/Release/qlview | ||
|
||
dist: release | ||
@rm -rf build/dist | ||
@mkdir -p build/dist | ||
check: | ||
|
||
zip: | ||
rm -rf build/dist | ||
mkdir -p build/dist | ||
cp -R build/Release/qlview build/dist | ||
cd build/dist && zip -r ../qlview-$(VERSION).zip * | ||
@ls build/*.zip | ||
ls build/*.zip | sed 's/^/> /' | ||
|
||
notarize: | ||
xcrun notarytool submit --keychain-profile $(NOTARIZATION_PROFILE) --wait --timeout 10m build/qlview-$(VERSION).zip | ||
|
||
dist: zip notarize | ||
|
||
clean: | ||
rm -rf build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.2 | ||
0.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters