-
Notifications
You must be signed in to change notification settings - Fork 2
/
options.ts
104 lines (86 loc) · 2.49 KB
/
options.ts
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
export interface BuildOptions {
/**
* Compile in 'dev' mode. The 'dev-addresses' and 'dev-dependencies' fields will be used if
* this flag is set. This flag is useful for development of packages that expose named
* addresses that are not set to a specific value.(default false)
*/
devMode?: boolean
/**
* Compile in 'test' mode. The 'dev-addresses' and 'dev-dependencies' fields will be used
* along with any code in the 'tests' directory.(default false)
*/
testMode?: boolean
/**
* Generate documentation for packages.(default false)
*/
generateDocs?: boolean
/**
* Generate ABIs for packages.(default false)
*/
generateAbis?: boolean
/**
* Installation directory for compiled artifacts. Defaults to current directory.
*/
installDir?: string
/**
* Force recompilation of all packages.(default false)
*/
forceRecompilation?: boolean
/**
* Only fetch dependency repos to MOVE_HOME.(default false)
*/
fetchDepsOnly?: boolean
/**
* Skip fetching latest git dependencies.(default false)
*/
skipFetchLatestGitDeps?: boolean
/**
* Bytecode version. Set to 0 to unset and use default.
*/
bytecodeVersion?: number
/**
* Compiler version. Set to 0 to unset and use default.
*/
compilerVersion?: string
/**
* Language version. Set to 0 to unset and use default.
*/
languageVersion?: string
/**
* Additional named address mapping. Useful for tools in Rust.
*/
additionalNamedAddresses?: [string, string][]
}
export interface CleanOptions {
/**
* Flush cache directory. (default false)
*/
cleanCache?: boolean
/**
* Flush other byproducts from compiler. It only removes files and directories with default name. (default false)
*/
cleanByProduct?: boolean
}
export interface TestOptions {
/**
* A filter string to determine which unit tests to run. A unit test will be run only if it
* contains this string in its fully qualified (<addr>::<module_name>::<fn_name>) name.
*/
filter?: string
/**
* Report test statistics at the end of testing.(default false)
*/
reportStatistics?: boolean
/**
* Show the storage state at the end of execution of a failing test.(default false)
*/
reportStorageOnError?: boolean
/**
* Ignore compiler's warning, and continue run tests.(default false)
*/
ignoreCompileWarnings?: boolean
/**
* Collect coverage information for later use with the various `move coverage` subcommands
*/
computeCoverage?: boolean
}