This repository was archived by the owner on Jan 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathMakefile
More file actions
47 lines (36 loc) · 1.35 KB
/
Copy pathMakefile
File metadata and controls
47 lines (36 loc) · 1.35 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
BUNDLE=rbenv exec bundle
LANG_VAR=LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
FASTLANE=$(LANG_VAR) $(BUNDLE) exec fastlane
help: ## Show this list of commands
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
setup: ## Install dependencies requied to start development
brew update
brew upgrade
brew cleanup
brew install rbenv carthage swiftlint
rbenv install -s
rbenv exec gem install bundler
rbenv rehash
$(BUNDLE) install
clear_cache:
rm -rf "Pods/"
rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf Podfile.lock
install_dependencies: ## Install dependencies. Similar but better than `pod install`.
$(FASTLANE) run cocoapods try_repo_update_on_error:true
wipe: ## Clean the Xcode temp files and kills simulators
killall "Simulator" || true
rm -rf ~/Library/Developer/Xcode/{DerivedData,Archives,Products}
osascript -e 'tell application "iOS Simulator" to quit'
osascript -e 'tell application "Simulator" to quit'
xcrun simctl shutdown all
test: ## Run clappr-ios tests
$(FASTLANE) test
release_from_ci: ## Release clappr-ios to cocoa pods from CI
$(FASTLANE) release_from_ci
release: ## Release clappr-ios to cocoa pods
$(FASTLANE) release version:$(version)
release_snapshot:
$(FASTLANE) release_snapshot version:$(version)
lint: ## Run swiftlint
$(FASTLANE) lint