Skip to content

Instantly share code, notes, and snippets.

@dkackman
Last active March 7, 2020 21:33
Show Gist options
  • Save dkackman/1def2963df5b2449999db570d39b1c6a to your computer and use it in GitHub Desktop.
Save dkackman/1def2963df5b2449999db570d39b1c6a to your computer and use it in GitHub Desktop.
vscode build tasks for chia-blockchain
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell",
"command": "cmake --build . -- -j 6",
"problemMatcher": [
"$gcc"
],
"options": {
"cwd": "${workspaceFolder}/lib/chiapos/build"
},
"group": {
"kind": "build",
"isDefault": true
},
"dependsOn": [
"prepare"
]
},
{
"label": "clean",
"type": "shell",
"command": "rm ./build -rf",
"options": {
"cwd": "${workspaceFolder}/lib/chiapos"
},
"problemMatcher": []
},
{
"label": "test",
"type": "shell",
"command": "./RunTests",
"options": {
"cwd": "${workspaceFolder}/lib/chiapos/build"
},
"group": {
"kind": "test",
"isDefault": true
},
"dependsOn": [
"build"
]
},
{
"label": "prepare",
"type": "shell",
"command": "bash ./prepare.sh",
"options": {
"cwd": "${workspaceFolder}/lib/chiapos"
},
"problemMatcher": []
},
{
"label": "cppcheck",
"type": "shell",
"command": "cppcheck --enable=all --inconclusive --force *.hpp",
"options": {
"cwd": "${workspaceFolder}/lib/chiapos/src"
},
"problemMatcher": [],
"dependsOn": [
"build"
]
},
{
"label": "test-bindings",
"type": "shell",
"command": "./run-py-tests.sh",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [],
"dependsOn": [
"build"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment