forked from ctreffs/SwiftSDL2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
47 lines (34 loc) · 751 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
39
40
41
42
43
44
45
46
47
lint-fix:
swiftlint fix --format
lintErrorOnly:
@swiftlint lint --quiet | grep error
genLinuxTests:
swift test --generate-linuxmain
swiftlint autocorrect --format --path Tests/
.PHONY: test
test:
swift test
.PHONY: build-release
build-release:
swift build -c release
submodule:
git submodule update --init --recursive
clean:
swift package reset
rm -rdf .swiftpm/xcode
rm -rdf .build/
rm Package.resolved
rm .DS_Store
cleanArtifacts:
swift package clean
latest:
swift package update
resolve:
swift package resolve
genXcode:
swift package generate-xcodeproj --enable-code-coverage --skip-extra-files
genXcodeOpen: genXcode
open *.xcodeproj
precommit: lint genLinuxTests
testReadme:
markdown-link-check -p -v ./README.md