-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.vssbe
102 lines (102 loc) · 3.14 KB
/
.vssbe
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
{
"Header": {
"_": [
" This requires vsSolutionBuildEvent engine.",
" Free plugin for Visual Studio or MSBuild Tools:",
" * https://github.com/3F/vsSolutionBuildEvent",
" * https://visualstudiogallery.msdn.microsoft.com/0d1dbfd7-ed8a-40af-ae39-281bfeca2334/",
" Feedback: github.com/3F or [email protected]"
],
"Compatibility": "0.9"
},
"PreBuild": [
{
"Enabled": true,
"Name": "ActDir",
"Caption": "Prepare output directory",
"SupportMSBuild": true,
"SupportSBEScripts": true,
"IgnoreIfBuildFailed": false,
"BuildType": "Common",
"Confirmation": false,
"Mode": {
"$type": "net.r_eg.vsSBE.Events.ModeScript, vsSolutionBuildEvent",
"Type": "Script",
"Command__": [
"#[$(dbin = \"bin/Release/\")]",
"",
"$(odir = \"$(dbin)raw/\")",
"",
"#[IO delete.directory(\"$(dbin)\", true)]",
"#[IO copy.directory(\"\", \"$(dbin)\", true)]"
]
}
},
{
"Enabled": true,
"Name": "ActBuild",
"Caption": "Building",
"SupportMSBuild": true,
"SupportSBEScripts": true,
"BuildType": "Common",
"Mode": {
"$type": "net.r_eg.vsSBE.Events.ModeScript, vsSolutionBuildEvent",
"Type": "Script",
"Command__": [
"#[IO writeLine(STDOUT):#[File sout(\"packing.bat\", \"\", 400)]]"
]
}
}
],
"PostBuild": [
{
"Enabled": true,
"Name": "ActBin",
"Caption": "Binaries & tools ...",
"SupportMSBuild": true,
"SupportSBEScripts": true,
"IgnoreIfBuildFailed": true,
"BuildType": "Common",
"Mode": {
"$type": "net.r_eg.vsSBE.Events.ModeScript, vsSolutionBuildEvent",
"Type": "Script",
"Command__": [
"#[IO copy.file(\"logic.targets\", \"$(odir)core/gnt.core\", true)]",
"#[IO copy.file(\"minified/gnt.core\", \"$(odir)core-minified/gnt.core\", true)]",
"#[IO copy.file(\"embedded/gnt.bat\", \"$(odir)versions/01. executable/gnt.bat\", true)]",
"",
"#[IO copy.file({",
" \"minified/gnt.core\", ",
" \"caller/gnt.bat\"",
" }, ",
" \"$(odir)versions/02. wrapper/\", true)]",
"",
"#[IO copy.file({ \"README.md\", \"changelog.txt\" }, \"$(odir)doc/\", true)]",
" ",
"#[IO copy.file({",
" \"msbuild.bat\",",
" \"LICENSE\"",
" },",
" \"$(odir)\", true)]"
]
}
},
{
"Enabled": true,
"Name": "ActZip",
"Caption": "Create Zip archive",
"SupportMSBuild": true,
"SupportSBEScripts": true,
"IgnoreIfBuildFailed": true,
"BuildType": "Common",
"Confirmation": false,
"Mode": {
"$type": "net.r_eg.vsSBE.Events.ModeScript, vsSolutionBuildEvent",
"Type": "Script",
"Command__": [
"#[7z pack.directory(\"$(dbin)raw\", \"$(dbin)GetNuTool.zip\")]"
]
}
}
]
}