vscode - building and running

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

vscode - building and running

Post 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"
            ]
        }
    ]
}
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: vscode - building and running

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply