Initial support for VS Code
dblume

dblume commited on 2023-01-20 22:18:27
Showing 4 changed files, with 30 additions and 2 deletions.

... ...
@@ -1,2 +1,3 @@
1
+.env
1 2
 *.zip
2 3
 .DS_Store
... ...
@@ -1,3 +1,5 @@
1
+-include .env
2
+
1 3
 .PHONY: clean
2 4
 ZIPFILE=dxb.zip
3 5
 
... ...
@@ -30,11 +30,21 @@ If you're me, and you want to contribute to the repo, then you can clone it like
30 30
 
31 31
 ### CLI
32 32
 
33
-Running make will build and deploy if you have `$ROKU_DEV_TARGET` set.
33
+Running make will build and deploy if you have `$ROKU_DEV_TARGET` and `$DEVPASSWORD` set.
34 34
 
35 35
     make
36 36
 
37
-### IDE
37
+### VS Code
38
+
39
+VS Code can also use the Makefile with [VC Code Makefile Tools](https://marketplace.visualstudio.com/items?itemName=ms-vscode.makefile-tools).
40
+You can set environment variables `$ROKU_DEV_TARGET` and `$DEVPASSWORD` in a file ".env". For example:
41
+
42
+    ROKU_DEV_TARGET=192.168.1.2
43
+    DEVPASSWORD=mooltipass
44
+
45
+Use dxb\_channel.code-workspace as your workspace file for the project.
46
+
47
+### Sublime Text
38 48
 
39 49
 See the "build\_systems" command in dxb\_channel.sublime-project to see how the channel is zipped and deployed.
40 50
 
... ...
@@ -0,0 +1,15 @@
1
+{
2
+    "folders": [
3
+        {
4
+            "path": "."
5
+        }
6
+    ],
7
+    "settings": {
8
+        "files.exclude": {
9
+            "dxb_channel.sublime-project": true,
10
+            "dxb.zip": true
11
+	}
12
+    }
13
+
14
+}
15
+
0 16