Travis: Indentation / list fixes (#1254)

Fixes the tools/indentation.awk script to not demand a comma at the end of perfectly valid comments.
Makes it report unnecessary commas in lists.
Readds it to the Travis build list.
This commit is contained in:
SoundScopes
2016-12-19 14:40:52 +00:00
committed by skull132
parent 7267ec826c
commit 97bb1e8e38
91 changed files with 483 additions and 440 deletions

View File

@@ -187,7 +187,7 @@
"output_pressure" = round(air2.return_pressure()*100),
"regulate_mode" = regulate_mode,
"set_flow_rate" = round(set_flow_rate*10),
"last_flow_rate" = round(last_flow_rate*10),
"last_flow_rate" = round(last_flow_rate*10)
)
// update the ui if it exists, returns null if no ui is passed/found

View File

@@ -130,7 +130,7 @@ Thus, the two variables affect pump operation are set in New():
"max_pressure" = max_pressure_setting,
"last_flow_rate" = round(last_flow_rate*10),
"last_power_draw" = round(last_power_draw),
"max_power_draw" = power_rating,
"max_power_draw" = power_rating
)
// update the ui if it exists, returns null if no ui is passed/found

View File

@@ -237,7 +237,7 @@
"timestamp" = world.time,
"sigtype" = "status",
"power_draw" = last_power_draw,
"flow_rate" = last_flow_rate,
"flow_rate" = last_flow_rate
)
if(!initial_loc.air_vent_names[id_tag])