From 9cea7cd370810ad04dd22c58c93c5ce0b9ae06dc Mon Sep 17 00:00:00 2001 From: Marcos Kirsch Date: Sun, 22 Feb 2015 16:20:36 -0600 Subject: [PATCH] Modify so all file types are uploaded, not just HTML files --- makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/makefile b/makefile index 9256332..c937e5a 100644 --- a/makefile +++ b/makefile @@ -3,14 +3,14 @@ # User configuration ###################################################################### # Path to the tool and serial port -LUATOOL=./luatool/luatool/luatool.py -PORT=/dev/ttyUSB0 +LUATOOL=../luatool/luatool/luatool.py +PORT=/dev/cu.usbserial-A602HRAZ ###################################################################### # End of user config ###################################################################### -HTTP_FILES := $(wildcard http/*html) -LUA_FILES := init.lua httpserver.lua +HTTP_FILES := $(wildcard http/*) +LUA_FILES := init.lua httpserver.lua # Print usage usage: @@ -23,7 +23,7 @@ upload_http: $(HTTP_FILES) $(foreach f, $^, $(LUATOOL) -f $(f) -t $(f) -p $(PORT);) # Upload httpserver lua files (init and server module) -upload_lua: $(LUA_FILES) +upload_lua: $(LUA_FILES) $(foreach f, $^, $(LUATOOL) -f $(f) -t $(f) -p $(PORT);) # Upload all