forked from JohnCoates/Aerial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (22 loc) · 651 Bytes
/
Makefile
File metadata and controls
32 lines (22 loc) · 651 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
29
30
31
32
.DEFAULT_GOAL := default
XCODEBUILD := xcodebuild
BUILD_FLAGS = -scheme $(SCHEME)
SCHEME ?= $(TARGET)
TARGET ?= AerialApp
clean:
$(XCODEBUILD) clean $(BUILD_FLAGS)
build: clean
$(XCODEBUILD) build $(BUILD_FLAGS)
test: clean
$(XCODEBUILD) test $(BUILD_FLAGS) -enableCodeCoverage YES
test-travis: clean
$(XCODEBUILD) test -workspace Aerial.xcworkspace $(BUILD_FLAGS) -enableCodeCoverage YES CODE_SIGNING_ALLOWED=NO
lint:
@echo SwiftLint Version: $(shell swiftlint version)
@echo PWD: $(shell pwd)
@swiftlint lint --reporter json --strict
lint-autocorrect:
swiftlint autocorrect
xcode-lint:
swiftlint lint --lenient
default: bootstrap