-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (21 loc) · 804 Bytes
/
Makefile
File metadata and controls
28 lines (21 loc) · 804 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
25
26
27
28
primary: dependencies project build test
project:
phoenx project build
dependencies:
carthage update
cleandependencies:
rm -rf ./Carthage
clean:
xcrun xcodebuild -alltargets clean
reallyclean:
killall Xcode || echo ""
xcrun -k
xcrun xcodebuild -alltargets clean
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache"
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang.$(whoami)/ModuleCache"
rm -rf ~/Library/Developer/Xcode/DerivedData/*
rm -rf ~/Library/Caches/com.apple.dt.Xcode/*
build: clean
xcrun xcodebuild -scheme OOUIKit -project OOUIKit.xcodeproj -destination 'platform=iOS Simulator,OS=11.0,name=iPhone 7' build
test: clean
xcrun xcodebuild -scheme OOUIKit -project OOUIKit.xcodeproj -destination 'platform=iOS Simulator,OS=11.0,name=iPhone 7' build test