Use docker commands by default

This commit is contained in:
KingOfDog 2022-09-14 07:52:15 +00:00
parent fb5f227229
commit f332a0a119

View File

@ -6,10 +6,8 @@
{
"label": "latexmk",
"type": "shell",
"command": "./build.sh pandoc",
"windows": {
"command": "docker run --rm -u 1000 -v '${workspaceFolder}:/work/' -w /work/ fastexitlane/pandoc-latex:latest ./build.sh pandoc"
},
// "command": "./build.sh pandoc",
"command": "docker run --rm -u 1000 -v '${workspaceFolder}:/work/' -w /work/ fastexitlane/pandoc-latex:latest ./build.sh pandoc",
"group": {
"kind": "build",
"isDefault": true
@ -19,20 +17,16 @@
{
"label": "clean",
"type": "shell",
"command": "./build.sh clean",
"windows": {
"command": "docker run --rm -u 1000 -v '${workspaceFolder}:/work/' -w /work/ fastexitlane/pandoc-latex:latest ./build.sh clean"
},
// "command": "./build.sh clean",
"command": "docker run --rm -u 1000 -v '${workspaceFolder}:/work/' -w /work/ fastexitlane/pandoc-latex:latest ./build.sh clean",
"group": "none",
"problemMatcher": []
},
{
"label": "wordcount",
"type": "shell",
"command": "pandoc --lua-filter=wordcount.lua chapter/out.md",
"windows": {
"command": "docker run --rm -u 1000 -v '${workspaceFolder}:/work/' -w /work/ fastexitlane/pandoc-latex:latest pandoc --lua-filter=/work/wordcount.lua /work/chapter/out.md"
},
// "command": "pandoc --lua-filter=wordcount.lua chapter/out.md",
"command": "docker run --rm -u 1000 -v '${workspaceFolder}:/work/' -w /work/ fastexitlane/pandoc-latex:latest pandoc --lua-filter=/work/wordcount.lua /work/chapter/out.md",
"group": "none",
"problemMatcher": []
},