From 8e16afa0a7e536942e633da1293b45defe001601 Mon Sep 17 00:00:00 2001 From: Bastian Bechtold Date: Sat, 13 Apr 2024 12:03:03 +0200 Subject: [PATCH] Adds vscode build script --- .gitignore | 3 ++- .vscode/launch.json | 15 +++++++++++++++ .vscode/settings.json | 17 +++++++++++++++++ .vscode/spellright.dict | 4 ++++ .vscode/tasks.json | 22 ++++++++++++++++++++++ 5 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json create mode 100644 .vscode/spellright.dict create mode 100644 .vscode/tasks.json diff --git a/.gitignore b/.gitignore index 13f6d069..08692832 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .DS_Store *~ -*# \ No newline at end of file +*# +CaptureOne \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..26317804 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Publish current file", + "type": "node-terminal", + "request": "launch", + "command": "exit", + "preLaunchTask": "publish-file" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..975da152 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,17 @@ +{ + "spellright.language": [ + "en", + "de" + ], + "spellright.documentTypes": [ + "markdown", + "latex", + "plaintext", + "org" + ], + "spellright.parserByClass": { + "org": { + "parser": "plain" + } + } +} \ No newline at end of file diff --git a/.vscode/spellright.dict b/.vscode/spellright.dict new file mode 100644 index 00000000..7f211216 --- /dev/null +++ b/.vscode/spellright.dict @@ -0,0 +1,4 @@ +filetags +img +figcaption +fn diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..bfd39482 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,22 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "publish-file", + "type": "shell", + "command": "emacs -batch -script ~/.emacs.d/init.el -eval '(org-static-blog-publish-file \"${file}\")'" + }, + { + "label": "publish-blog", + "type": "shell", + "command": "emacs -batch -script ~/.emacs.d/init.el -eval '(org-static-blog-publish)'", + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + } + ] +} \ No newline at end of file