[arch-commits] Commit in android-tools/trunk (generate_build.rb)

Anatol Pomozov anatolik at archlinux.org
Thu Mar 5 01:00:48 UTC 2020


    Date: Thursday, March 5, 2020 @ 01:00:47
  Author: anatolik
Revision: 590680

Reformat the ruby script with rufo

Modified:
  android-tools/trunk/generate_build.rb

-------------------+
 generate_build.rb |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: generate_build.rb
===================================================================
--- generate_build.rb	2020-03-05 00:48:23 UTC (rev 590679)
+++ generate_build.rb	2020-03-05 01:00:47 UTC (rev 590680)
@@ -29,10 +29,10 @@
     output = s + ".o"
     outputs << output
     order_deps = if params[:order_deps]
-                   " || " + params[:order_deps].join(" ")
-                 else
-                   ""
-                 end
+        " || " + params[:order_deps].join(" ")
+      else
+        ""
+      end
 
     puts "build #{output}: #{cc} #{s}#{order_deps}\n    cflags = #{lang_flags} #{cflags}"
   end



More information about the arch-commits mailing list