forked from GetStream/stream-chat-swiftui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
21 lines (17 loc) · 759 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
MAKEFLAGS += --silent
update_dependencies:
echo "👉 Updating Nuke"
make update_nuke version=11.3.1
echo "👉 Updating SwiftyGif"
make update_swiftygif version=5.4.2
update_nuke: check_version_parameter
./Scripts/updateDependency.sh $(version) Dependencies/Nuke Sources/StreamChatSwiftUI/StreamNuke Sources
./Scripts/removePublicDeclarations.sh Sources/StreamChatSwiftUI/StreamNuke
update_swiftygif: check_version_parameter
./Scripts/updateDependency.sh $(version) Dependencies/SwiftyGif Sources/StreamChatSwiftUI/StreamSwiftyGif SwiftyGif
./Scripts/removePublicDeclarations.sh Sources/StreamChatSwiftUI/StreamSwiftyGif
check_version_parameter:
@if [ "$(version)" = "" ]; then\
echo "❌ Missing version parameter"; \
exit 1;\
fi