-
Notifications
You must be signed in to change notification settings - Fork 0
/
default_config.js
53 lines (43 loc) · 1.55 KB
/
default_config.js
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
'use strict';
/**
* Generator names should be lowercase, as should the directories their generate.js files are in
*/
module.exports = {
// CLI aliases, eg you can run 'build.js js' instead of 'build.js javascript'
aliases: {
js: "javascript",
cs: "csharp"
},
generators: {
javascript: {
// this is where your generated model files will be saved
outputDirs: {
objects: "./build/javascript/newgroundsio/objects",
components: "./build/javascript/newgroundsio/components",
component_results: "./build/javascript/newgroundsio/results",
object_index: "./build/javascript/newgroundsio/objects"
},
// partials (code that will be inserted into generated files) for generated files can be found here
partialDirs: {
objects: "./generators/javascript/partials/objects",
components: "./generators/javascript/partials/components",
component_results: "./generators/javascript/partials/results"
}
},
csharp: {
// this is where your generated model files will be saved
outputDirs: {
objects: "./build/csharp/newgroundsio/objects",
components: "./build/csharp/newgroundsio/components",
component_results: "./build/csharp/newgroundsio/results",
object_index: "./build/csharp/newgroundsio/objects"
},
// partials (code that will be inserted into generated files) for generated files can be found here
partialDirs: {
objects: "./generators/csharp/partials/objects",
components: "./generators/csharp/partials/components",
component_results: "./generators/csharp/partials/results"
}
}
}
}