feat: add native macOS application launcher
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
.PHONY: build run test
|
||||
|
||||
APP := .build/Conjure.app
|
||||
|
||||
build:
|
||||
swift build -c release
|
||||
mkdir -p $(APP)/Contents/MacOS
|
||||
cp .build/release/Conjure $(APP)/Contents/MacOS/Conjure
|
||||
cp Resources/Info.plist $(APP)/Contents/Info.plist
|
||||
codesign --force --sign - $(APP)
|
||||
|
||||
run: build
|
||||
open $(APP)
|
||||
|
||||
test:
|
||||
swift test
|
||||
Reference in New Issue
Block a user