ardunio-cli: shorten long lines.
This commit is contained in:
parent
758b3a6102
commit
6810ceec96
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue