-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Makefile
38 lines (28 loc) · 845 Bytes
/
Makefile
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
GITHUB_URL := https://github.com/HeroTransitions/Hero/
include .makefiles/ludicrous.mk
include .makefiles/bundler.mk
include .makefiles/ios.mk
PLATFORM := 'iOS'
TEST_SCHEME := 'HeroExamples'
WORKSPACE := 'Hero.xcworkspace'
%:
@:
args = `arg="$(filter-out $@,$(MAKECMDGOALS))" && echo $${arg:-${1}}`
#> Lint the podspec for upload
pod_lint:
bundle exec pod spec lint Hero.podspec
#> Build API documentation; https://github.com/realm/jazzy
jazzy:
@jazzy --config .jazzy.yaml
#> Markdown API using sourcedocs; https://github.com/eneko/SourceDocs
sourcedocs:
@sourcedocs generate --clean --output-folder docs
#> Run tests
swift_test:
swift test --parallel
#> Build debug
swift_debug:
swift build --skip-update --jobs 4 --configuration debug
#> Build release
swift_release:
swift build --skip-update --jobs 4 --configuration release