forked from loicortola/nodemcu-espress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
upload.sh
executable file
·24 lines (24 loc) · 1.27 KB
/
upload.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#/bin/sh
nodemcu-tool upload espress.lua --port $1 --compile --optimize
nodemcu-tool upload http_not_found.lua --port $1 --compile --optimize
nodemcu-tool upload http_request.lua --port $1 --compile --optimize
nodemcu-tool upload http_response_send.lua --port $1 --compile --optimize
nodemcu-tool upload http_response_sendfile.lua --port $1 --compile --optimize
nodemcu-tool upload http_response.lua --port $1 --compile --optimize
nodemcu-tool upload plugins/auth_api_key.lua --port $1 --compile --optimize
nodemcu-tool upload plugins/router.lua --port $1 --compile --optimize
nodemcu-tool upload plugins/routes_auto.lua --port $1 --compile --optimize
nodemcu-tool upload status-codes/http-200 --port $1
nodemcu-tool upload status-codes/http-400 --port $1
nodemcu-tool upload status-codes/http-401 --port $1
nodemcu-tool upload status-codes/http-403 --port $1
nodemcu-tool upload status-codes/http-404 --port $1
nodemcu-tool upload status-codes/http-405 --port $1
nodemcu-tool upload status-codes/http-503 --port $1
nodemcu-tool upload mime-types/type-css
nodemcu-tool upload mime-types/type-html
nodemcu-tool upload mime-types/type-jpg
nodemcu-tool upload mime-types/type-js
nodemcu-tool upload mime-types/type-json
nodemcu-tool upload mime-types/type-png
nodemcu-tool upload mime-types/type-ico