VS Code에서 Neuron 실행 Task

우분투 기준임.

 {
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        { 
            "label": "Compile NEURON",
            "type":"shell",
            "command": "rm -rf ./x86_64; cd ./mods; nrnivmodl; mv -f ./x86_64 ../x86_64",
            "presentation": {
                "echo": true,
                "reveal": "always",
                "focus": false,
                "panel": "shared",
                "showReuseMessage": false,
                "clear": false
            }
        },
        {
            "label": "Run NEURON",
            "type": "shell",
            "command": "nrniv ${file}",
            "presentation": {
                "echo": true,
                "reveal": "always",
                "focus": false,
                "panel": "shared",
                "showReuseMessage": false,
                "clear": false
            }
        },
        {
            "label": "Compile & Run NEURON",
            "dependsOrder":"sequence",
            "dependsOn":["Compile NEURON","Run NEURON"]            
        }
    ]
} 

Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *