File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,10 @@ for f in ${MANIFEST[@]};
17
17
do
18
18
SRC_NAME=$f
19
19
OBJ_NAME=$( dirname ${f} ) /$( basename ${f} .lua) .luac
20
- luac -o ${OBJ_NAME} ${SRC_NAME} || exit 1
20
+ echo -e " Compiling file \e[1m${SRC_NAME} \e[21m..." || \
21
+ luac -o ${OBJ_NAME} ${SRC_NAME} || \
22
+ echo -e " \e[1m\e[39m[\e[31mBUILD FAILED\e[39m]\e[21m Compilation error in file \e[1m${SRC_NAME} \e[21m!" || \
23
+ exit 1
21
24
done
22
25
23
- echo -e " \e[1m\e[39m[\e[31mTEST SUCCESSFUL\e[39m]\e[21m All lua files built successfully!"
26
+ echo -e " \e[1m\e[39m[\e[32mTEST SUCCESSFUL\e[39m]\e[21m All lua files built successfully!"
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ local function run_bg()
62
62
mspMsgQueued = true
63
63
64
64
timeIsSet = true
65
- else
65
+ elseif type ( newSensorValue ) ~= " number " or newSensorValue == 0 then
66
66
timeIsSet = false
67
67
end
68
68
You can’t perform that action at this time.
0 commit comments