forked from Brightify/Cuckoo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
18 lines (16 loc) · 659 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.PHONY: dev
dev:
(killall Xcode || true)
tuist generate --no-open
# Use Bundler if available, otherwise just call system-wide CocoaPods.
if ! command -v bundle &> /dev/null; then bundle install && bundle exec pod install; else pod install; fi
xed Cuckoo.xcworkspace
init:
# Install Tuist if not present.
if ! command -v tuist &> /dev/null; then curl -Ls https://install.tuist.io | bash; fi
# Install Gemfile dependencies if `bundle` is available.
if ! command -v bundle &> /dev/null; then bundle install; fi
# Pre-generate test file with generated mocks.
touch "Tests/Swift/Generated/GeneratedMocks.swift"
# Generate Cuckoo workspace.
make dev