forked from UnlockAgency/Natrium
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (22 loc) · 837 Bytes
/
Makefile
File metadata and controls
24 lines (22 loc) · 837 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
all: help
build:
swiftlint; swift build --configuration release
cp .build/release/natrium bin/
chmod +x bin/natrium
mkdir -p Example/Cocoapods/Pods/Natrium/bin
chmod -R 7777 Example/CocoaPods/Pods/Natrium/bin/
cp bin/*.swift Example/CocoaPods/Pods/Natrium/bin/
cp bin/natrium Example/CocoaPods/Pods/Natrium/bin/
cp bin/Natrium.h Example/CocoaPods/Pods/Natrium/bin/
rm -rf Example/CocoaPods/Pods/Natrium/bin/Natrium.lock
cp bin/natrium Example/Manual/
rm -rf Example/Manual/Natrium.lock
rm -rf Res/Natrium.framewok/run
cp bin/natrium Res/Natrium.framework/run
rm -rf Res/Natrium.framewok.zip
zip -r -X "Res/Natrium.framework.zip" Res/Natrium.framework/*
sh Res/update_version_json.sh
help:
@echo "Available make commands:"
@echo " $$ make help - display this message"
@echo " $$ make build - creates a new build"