23 lines
428 B
Makefile
23 lines
428 B
Makefile
|
|
.PHONY: build release run install uninstall clean
|
||
|
|
|
||
|
|
build:
|
||
|
|
swift build
|
||
|
|
|
||
|
|
release:
|
||
|
|
swift build -c release --product ClaireTrayApp
|
||
|
|
|
||
|
|
# Run the debug binary in the foreground (Ctrl-C to quit). Useful for
|
||
|
|
# iterating on the menu without going through the launchd install.
|
||
|
|
run: build
|
||
|
|
./.build/debug/ClaireTrayApp
|
||
|
|
|
||
|
|
install:
|
||
|
|
./deploy/install.sh
|
||
|
|
|
||
|
|
uninstall:
|
||
|
|
./deploy/install.sh --uninstall
|
||
|
|
|
||
|
|
clean:
|
||
|
|
swift package clean
|
||
|
|
rm -rf .build
|