-
Notifications
You must be signed in to change notification settings - Fork 1
/
Archerfile
55 lines (55 loc) · 1.65 KB
/
Archerfile
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
48
49
50
51
52
53
54
55
name: Archery
version: 0.3.2
apiLevel: 2
repository: https://github.com/vknabel/Archery
loaders:
- cat Metadata/*.yml
- cat Examples/BashAlias.yml
- cat Examples/TestingOnMultiplePlatforms.yml
- cat Examples/LoadUserSpecificOverrides.yml
- swift Scripts/MapSwiftTargetsToScripts.swift --package-path .
scripts:
greet: echo Hello
clean: rm -rf .archery && swift package clean
format:
help: |-
Reformats all Swift code. Requires swiftformat to be installed globally.
See https://github.com/nicklockwood/SwiftFormat/pull/183
comment: Requires https://github.com/nicklockwood/SwiftFormat/pull/183
command: swiftformat --exclude "Sources/ArcheryInterface/InitCommand+Contents.swift" .
lint:
arrow: vknabel/MintArrow
help: Lints all project files
package: Realm/Swiftlint
generate:
run:
- readme
- version
- init-command
- format
- docs
scripts:
readme:
arrow: vknabel/StencilArrow
template: README.md.stencil
destination: README.md
searchPaths:
- Scripts
version:
arrow: vknabel/StencilArrow
template: Version.swift.stencil
destination: Sources/ArcheryKit/Version.generated.swift
searchPaths:
- Scripts
init-command:
arrow: vknabel/StencilArrow
template: InitCommand+Contents.swift.stencil
destination: Sources/ArcheryInterface/InitCommand+Contents.swift
searchPaths:
- Scripts
docs: |
if which jazzy >/dev/null; then
jazzy --head "$(cat Scripts/docs-head.html)"
else
echo Skip: Jazzy not available
fi