-
Notifications
You must be signed in to change notification settings - Fork 2
/
example_leto.json5
54 lines (45 loc) · 2.09 KB
/
example_leto.json5
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
////////////////////////////////////////////////////////////////////////////////
// Leto template defs
{ "image": "http://www.sxc.hu/pic/m/g/ga/gauz/1422319_mixing_desk.jpg",
"version": "0.0.0",
"github": {
"user": "ZECTBynmo",
"repo": "defaultTemplate"
},
"defaults": {
"projectName": "DefaultProjectName"
},
// ~~~~~~~~~~~~~~~~~~~~~~~~
// Setup procedure
"procedure": [
// ******************************
// Step 1 - Move Sources
// ******************************
{ "title": "Move sources into place",
"type": "move", // Move some files
"plan": "./movingPlan", // Our moving plan (see https://github.com/ZECTBynmo/mover)
}, // end move VST sources
// ******************************
// Step 2 - Search and Replace
// ******************************
{ "title": "Change names and paths",
"type": "replace", // Search through the folder and find instances of keywords
// (ex: project name)
"keywords": {
"projectName": "MyProject", // The (case sensitive) strings we're searching for, and
}, // the title of the value it represents
"extensions": [ // We'll only open files with these extensions (we search
".js", // through all files if this is omitted)
".md",
".json"
]
}, // end search and replace
// ******************************
// Step 3 - Run a script
// ******************************
{ "title": "Generate project files",
"type": "execute",
"command": "nonnode-gyp configure"
}, // end search and replace
]
}