From b8705d5159e75f44720cdfe7b4088d467565e0e3 Mon Sep 17 00:00:00 2001 From: Zsolt Tasnadi Date: Tue, 28 Jul 2026 18:39:04 +0200 Subject: [PATCH] add vscode tasks --- .gitignore | 1 - .vscode/settings.json | 15 +++++++++++++++ .vscode/tasks.json | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json create mode 100644 .vscode/tasks.json diff --git a/.gitignore b/.gitignore index 7b04d0b..51812bb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ .local -.vscode .DS_Store bombexpert.lua bombexpert/* diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..cfecb98 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,15 @@ +{ + "Lua.diagnostics.globals": [ + "explode", + "btn", + "btnp", + "rect", + "cls", + "spr", + "exit", + "sfx", + "keyp", + "key", + "pmem" + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..7b96e90 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,34 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Run TIC80", + "type": "shell", + "command": "tic80 --fs=. bombexpert.lua", + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "Build & Run TIC80", + "type": "shell", + "command": "make clean && make build && tic80 --fs=. bombexpert.lua", + "problemMatcher": [] + }, + { + "label": "Export assets", + "type": "shell", + "command": "make export_assets", + "problemMatcher": [] + }, + { + "label": "Make build", + "type": "shell", + "command": "make build" + } + ] +}