Browse Source

Add vscode tasks/settings

bryan 4 years ago
parent
commit
c4119f9265
2 changed files with 16 additions and 0 deletions
  1. 3 0
      .vscode/settings.json
  2. 13 0
      .vscode/tasks.json

+ 3 - 0
.vscode/settings.json

@@ -0,0 +1,3 @@
+{
+    "window.title": "openwrtBuild"
+}

+ 13 - 0
.vscode/tasks.json

@@ -0,0 +1,13 @@
+{
+    // See https://go.microsoft.com/fwlink/?LinkId=733558
+    // for the documentation about the tasks.json format
+    "version": "2.0.0",
+    "tasks": [
+        {
+            "label": "Build RPi4 snapshot in toolbox",
+            "type": "shell",
+            "command": "toolboxRun -c openwrt ${file} --version snapshot --profile rpi-4",
+            "problemMatcher": []
+        }
+    ]
+}