aasdk/.vscode/tasks.json
Matthew Hilton 053d69ecf3
added Github actions (#12)
* package using cpack (#18)

Added build to .gitignore
Added vscode tasks to clean, build, package
Added CPack support for debian packages

* Added gitversion,cmake and last commit epoch as patch version

* Switched patch version to use commit hash instead of epoch

* Added CPACK_Version

* added message to output version

* added dockerbuild temp

* workflow fix

* fixed tabs

* fixed depends

* fixed typo

* typo in Dockerfile

* added upload artifact

* added deb_architecture

* added releases

* fixed checkout

* added tags

* fixed release gha

* Added versioning

* switch to use commit_timestamp
2021-09-23 23:20:11 +01:00

57 lines
1.4 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Clean",
"command": "sudo rm -R build",
"type": "shell",
"args": [],
"problemMatcher": [
"$tsc"
],
"presentation": {
"reveal": "always"
},
"group": "build"
},
{
"label": "Build",
"command": "mkdir build;cd build;cmake -DCMAKE_BUILD_TYPE=Release ../",
"type": "shell",
"args": [],
"problemMatcher": [
"$tsc"
],
"presentation": {
"reveal": "always"
},
"group": "build"
},
{
"label": "Create DEB Package",
"command": "cd build;cpack --config CPackConfig.cmake",
"type": "shell",
"args": [],
"problemMatcher": [
"$tsc"
],
"presentation": {
"reveal": "always"
},
"group": "build"
},
{
"label": "Create DEB SRC Package",
"command": "cd build;cpack --config CPackSourceConfig.cmake",
"type": "shell",
"args": [],
"problemMatcher": [
"$tsc"
],
"presentation": {
"reveal": "always"
},
"group": "build"
}
]
}