-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vssbe
31 lines (31 loc) · 925 Bytes
/
.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
{
"Header": {
"_": [
" This file for vsSolutionBuildEvent ",
" https://github.com/3F/vsSolutionBuildEvent "
],
"Compatibility": "0.12.4"
},
"PreBuild": [
{
"Enabled": true,
"Name": "ModulesAndPkg",
"Caption": "Restore packages ...",
"Mode": {
"$type": "net.r_eg.vsSBE.Events.ModeScript, vsSolutionBuildEvent",
"Type": "Script",
"Command__": [
"##[( !(#[IO exists.file(\"packages/__checked\")]) )",
"{",
" #[File call(\".tools\\hMSBuild.bat\", \"~x ~c $(Configuration) -t:restore /v:q /nologo\", 300)]",
"",
" #[IO copy.directory(\"\", \"packages/\", true)]",
" #[File write(\"packages/__checked\"): ]",
"}]",
"",
"#[File scall(\".tools\\hMSBuild.bat\", \"~x ~c $(Configuration) -t:restore /v:q /nologo\", 300)]"
]
}
}
]
}