-
Notifications
You must be signed in to change notification settings - Fork 98
/
Makefile
33 lines (30 loc) · 898 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
build_help:
cd SwiftlineTests && jazzy \
--clean \
--author NSOmar \
--author_url https://nsomar.com \
--github_url https://github.com/swiftline/swiftline \
--github-file-prefix https://github.com/swiftline/swiftline \
--module-version 0.2.0 \
--xcodebuild-arguments -scheme,Swiftline \
--module Swiftline \
--output ../../Docs/swift_output
git stash
git checkout gh-pages
git fetch origin
git reset --hard origin/gh-pages
git clean -fd
\cp -rf ../Docs/swift_output/* .
git aa
git commit -m "Updating documentation"
git push origin gh-pages --force
git co -
- git stash pop
test:
cd SwiftlineTests; xcodebuild -project Swiftline.xcodeproj -scheme Swiftline clean build test -sdk macosx GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES
test-spm:
cd TestPackage && rm -rf .build
cd TestPackage && swift build
build-spm:
rm -rf .build
swift build