ardunio-cli: shorten long lines.

This commit is contained in:
Mike McQuaid 2019-10-15 09:08:50 +01:00
parent 758b3a6102
commit 6810ceec96
No known key found for this signature in database
GPG key ID: 48A898132FD8EE70

View file

@ -18,7 +18,10 @@ class ArduinoCli < Formula
def install
commit = Utils.popen_read("git", "rev-parse", "HEAD").chomp
system "go", "build", "-ldflags", "-s -w -X github.com/arduino/arduino-cli/version.versionString=#{version} -X github.com/arduino/arduino-cli/version.commit=#{commit}", "-o", bin/"arduino-cli"
system "go", "build", "-ldflags",
"-s -w -X github.com/arduino/arduino-cli/version.versionString=#{version} " \
"-X github.com/arduino/arduino-cli/version.commit=#{commit}",
"-o", bin/"arduino-cli"
end
test do