Skip to content

Commit

Permalink
Adds vscode build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastian Bechtold committed Apr 13, 2024
1 parent 417026b commit 8e16afa
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
*~
*#
*#
CaptureOne
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
17 changes: 17 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"spellright.language": [
"en",
"de"
],
"spellright.documentTypes": [
"markdown",
"latex",
"plaintext",
"org"
],
"spellright.parserByClass": {
"org": {
"parser": "plain"
}
}
}
4 changes: 4 additions & 0 deletions .vscode/spellright.dict
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
filetags
img
figcaption
fn
22 changes: 22 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -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
}
}
]
}

0 comments on commit 8e16afa

Please sign in to comment.