-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
spec.go
46 lines (38 loc) · 952 Bytes
/
spec.go
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
package langs
var ModderSpec = `
langs: #Spec
#Spec: [N=string]: {
Name: N,
Version: string,
ModFile: string,
SumFile: string,
ModsDir: string,
MappingFile: string,
PrivateEnvVar?: string,
NoLoad?: bool,
CommandInit?: [...[...string]],
CommandGraph?: [...[...string]],
CommandTidy?: [...[...string]],
CommandVendor?: [...[...string]],
CommandVerify?: [...[...string]],
CommandStatus?: [...[...string]],
InitTemplates?: {
[string]: string
},
InitPreCommands?: [...[...string]],
InitPostCommands?: [...[...string]],
VendorIncludeGlobs?: [...string],
VendorExcludeGlobs?: [...string],
VendorTemplates?: {
[string]: string
},
VendorPreCommands?: [...[...string]],
VendorPostCommands?: [...[...string]],
ManageFileOnly?: bool,
SymlinkLocalReplaces?: bool,
IntrospectIncludeGlobs?: [...string],
IntrospectExcludeGlobs?: [...string],
IntrospectExtractRegex?: [...string],
PackageManagerDefaultPrefix?: string,
}
`