-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (18 loc) · 587 Bytes
/
Copy pathMakefile
File metadata and controls
24 lines (18 loc) · 587 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
build:
bash scripts/bundle.sh
# Remove any existing install first: cp -R into an existing bundle merges
# stale files (or nests the app) instead of replacing it.
install: build
rm -rf /Applications/MicGuard.app
cp -R .build/MicGuard.app /Applications/MicGuard.app
uninstall:
rm -rf /Applications/MicGuard.app
zip: build
cd .build && zip -ry MicGuard.zip MicGuard.app
# Development: build the bundle and (re)launch it.
dev: build
-killall MicGuard 2>/dev/null
open .build/MicGuard.app
dev-stop:
-killall MicGuard 2>/dev/null
.PHONY: build install uninstall zip dev dev-stop