-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathArcherfile
83 lines (83 loc) · 2.32 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "Stencil Arrow",
"github": "vknabel/StencilArrow",
"license": "MIT",
"archery": { "github": "vknabel/Archery" },
"version": "0.1.3",
"apiLevel": 1,
"repository": "https://github.com/vknabel/StencilArrow",
"contributors":
[
{
"github": "vknabel",
"email": "[email protected]",
"name": "Valentin Knabel",
"twitter": "vknabel",
},
],
"arrowOptions":
[
{ "name": "template", "type": "String", "default": "Required" },
{
"name": "destination",
"type": "String?",
"default": "Print to stdout",
},
{
"name": "metadataName",
"type": "String?",
"default": "Globally available. Contains the Archerfile",
},
{
"name": "argumentsName",
"type": "String?",
"default": "`arguments` contains all command line args",
},
{
"name": "searchPaths",
"type": "[String]?",
"default": '`["."]` search on current directory',
},
],
"scripts":
{
"clean":
{
"arrow": "vknabel/BashArrow",
"command": "rm -rf .archery && swift package clean",
"printCommandBeforeExecution": true,
},
"xcopen":
{
"arrow": "vknabel/BashArrow",
"command": "swift package generate-xcodeproj && open *.xcodeproj",
},
"format":
{
"arrow": "vknabel/BashArrow",
"help": "Reformats all Swift code. Requires swiftformat to be installed globally.\nSee https://github.com/nicklockwood/SwiftFormat/pull/183",
"comment": "Requires https://github.com/nicklockwood/SwiftFormat/pull/183",
"command": "swiftformat .",
},
"generate":
{
"arrow": "vknabel/ArcheryArrow",
"run": ["readme", "format", "docs"],
"scripts":
{
"readme":
{
"arrow": "vknabel/StencilArrow",
"template": "README.md.stencil",
"destination": "README.md",
"searchPaths": ["Scripts"],
},
"docs":
{
"arrow": "vknabel/BashArrow",
"command": "if which jazzy >/dev/null; then jazzy; fi",
},
},
},
},
}