Page 1 of 1

vscode - building and running

Posted: Mon Jul 15, 2019 12:33 pm
by Antonio Linares
tasks.json

Code: Select all

{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "label": "run",
            "type": "shell",
            "command": "./${fileBasenameNoExtension}",
            "dependsOn": [ "build" ],
            "problemMatcher": []
        },
        {
            "label": "build",
            "type": "shell",
            "command": "/Users/$USER/harbour/bin/darwin/clang/hbmk2",
            "args": [
                "${workspaceFolder}/${fileBasenameNoExtension}.prg"
            ]
        }
    ]
}

Re: vscode - building and running

Posted: Thu Jul 18, 2019 9:50 am
by Antonio Linares