Vagrant boxes (#905)

This commit is contained in:
Roey Darwish Dror
2022-04-23 15:09:54 +03:00
committed by GitHub
parent 020a0619b8
commit 14809322b4
4 changed files with 91 additions and 1 deletions

46
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,46 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'topgrade'",
"console": "integratedTerminal",
"cargo": {
"args": [
"build",
"--bin=topgrade",
"--package=topgrade"
],
"filter": {
"name": "topgrade",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'topgrade'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=topgrade",
"--package=topgrade"
],
"filter": {
"name": "topgrade",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}

View File

@@ -21,5 +21,15 @@
"body": [
"return Err(SkipStep(format!(\"$1\").into()));"
]
},
"Step": {
"scope": "rust",
"prefix": "step",
"body": [
"pub fn $1(ctx: &ExecutionContext) -> Result<()> {",
" $0",
" Ok(())",
"}"
]
}
}
}