Skip to content
Martin Bórik edited this page Dec 7, 2019 · 6 revisions

This is (mine 😊) build task for SjASMPlus macro-assembler which you can modify by your own and put into your project's directory in .vscode/tasks.json.

{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "SjASMPlus",
            "type": "shell",
            "command": "sjasmplus",
            "options": {
                "cwd": "${fileDirname}"
            },
            "args": [
                "--nologo",
                "--lst=${fileBasenameNoExtension}.lst",
                "${fileBasename}"
            ],
            "linux": {
                "command": "/usr/local/bin/sjasmplus",
            },
            "osx": {
                "command": "/path/to/sjasmplus",
            },
            "windows": {
                "command": "sjasmplus.exe",
                "options": {
                    "shell": {
                        "executable": "C:\\WINDOWS\\System32\\cmd.exe",
                        "args": ["/d", "/c"]
                    }
                }
            },
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "isBackground": false,
            "presentation": {
                "echo": false,
                "reveal": "silent",
                "focus": false,
                "panel": "shared"
            },
            "problemMatcher": "$errmatcher-sjasmplus"
        }
    ]
}
Clone this wiki locally