Skip to content

Instantly share code, notes, and snippets.

@yorickdewid
Last active August 17, 2023 11:37
Show Gist options
  • Save yorickdewid/5716222f0e7f7dee187d16b493b8bb26 to your computer and use it in GitHub Desktop.
Save yorickdewid/5716222f0e7f7dee187d16b493b8bb26 to your computer and use it in GitHub Desktop.
Visual Studio Code PostgreSQL Development Tasks
{
"version": "2.0.0",
"tasks": [
{
"label": "PostgreSQL: Clean",
"type": "shell",
"command": "/usr/bin/make",
"args": [
"clean"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "PostgreSQL: Configure",
"type": "shell",
"command": "./configure",
"args": [
"--enable-debug",
"--enable-cassert",
"--with-llvm",
"--with-openssl",
"--with-systemd",
"--with-lz4",
"--with-uuid=ossp",
"--with-libxml",
"--enable-nls"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "PostgreSQL: Make",
"type": "shell",
"command": "/usr/bin/make",
"args": [
"-j",
"${nproc}"
],
"options": {
"cwd": "${workspaceFolder}"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "PostgreSQL: Install",
"type": "shell",
"command": "/usr/bin/make",
"args": [
"install"
],
"options": {
"cwd": "${workspaceFolder}"
},
"dependsOn": [
"Make"
],
"problemMatcher": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment