mirror of
https://github.com/opencardev/aasdk.git
synced 2024-07-03 17:16:56 +02:00
* 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
57 lines
1.4 KiB
JSON
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"
|
|
}
|
|
]
|
|
} |