David Blume commited on 2015-11-10 15:07:38
Showing 2 changed files, with 14 additions and 1 deletions.
... | ... |
@@ -0,0 +1,13 @@ |
1 |
+.PHONY: clean |
|
2 |
+ZIPFILE=family_photos.zip |
|
3 |
+ |
|
4 |
+all: $(ZIPFILE) |
|
5 |
+ curl -s -S --user rokudev:$(DEVPASSWORD) --digest -F "archive=@$(ZIPFILE)" \ |
|
6 |
+ -F "mysubmit=Install" --output /dev/null --write-out "%{http_code}" \ |
|
7 |
+ http://$(ROKU_DEV_TARGET)/plugin_install |
|
8 |
+ |
|
9 |
+$(ZIPFILE): manifest source/*.brs images/*.png |
|
10 |
+ zip $@ manifest source/*.* images/*.* |
|
11 |
+ |
|
12 |
+clean: |
|
13 |
+ rm $(ZIPFILE) |
... | ... |
@@ -4,7 +4,7 @@ |
4 | 4 |
{ |
5 | 5 |
"name": "Run", |
6 | 6 |
"linux": { |
7 |
- "shell_cmd": "zip \"$project_base_name.zip\" manifest source/*.* images/*.* && curl -s -S --user rokudev:ahov --digest -F \"archive=@$project_base_name.zip\" -F \"mysubmit=Install\" --output /dev/null --write-out \"%{http_code}\" http://10.12.12.50/plugin_install", |
|
7 |
+ "shell_cmd": "make all", |
|
8 | 8 |
}, |
9 | 9 |
"working_dir": "$project_path" |
10 | 10 |
}, |
11 | 11 |