forked from newmarcel/KeepingYouAwake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (21 loc) · 740 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
SCHEME = KeepingYouAwake
WORKSPACE = KeepingYouAwake.xcworkspace
VERSION = 1.6.3
OUTPUT_DIR = dist
VENDOR_DIR = Vendor
default: dist
clean:
$(RM) -r build
$(RM) -r $(OUTPUT_DIR)
$(VENDOR_DIR):
$(MAKE) -C $(VENDOR_DIR)
$(OUTPUT_DIR)/$(SCHEME)-$(VERSION).zip:
@echo "Exporting $(OUTPUT_DIR)/$(SCHEME)-$(VERSION).zip..."
@ditto -c -k --sequesterRsrc --keepParent $(OUTPUT_DIR)/$(SCHEME).app $(OUTPUT_DIR)/$(SCHEME)-$(VERSION).zip
dist: $(OUTPUT_DIR)/$(SCHEME)-$(VERSION).zip
@echo "Verifying code signing identity..."
@spctl -a -vv $(OUTPUT_DIR)/$(SCHEME).app
clangformat:
$(info Reformatting source files with clang-format...)