-
Notifications
You must be signed in to change notification settings - Fork 34
Enable redirection of installation output, add arduino_library_location.rb
#92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cc3e340
to
6dcc33e
Compare
lib/arduino_ci/arduino_downloader.rb
Outdated
@@ -115,15 +119,15 @@ def download | |||
total_size += size | |||
needed_dots = (total_size / chunk_size).to_i | |||
unprinted_dots = needed_dots - dots | |||
print("." * unprinted_dots) if unprinted_dots > 0 | |||
@output.puts("." * unprinted_dots) if unprinted_dots > 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be @output.print
lib/arduino_ci/arduino_downloader.rb
Outdated
@@ -133,7 +137,7 @@ def extract | |||
batch_size = [1, (zip.size / 100).to_i].max | |||
dots = 0 | |||
zip.each do |file| | |||
print "." if (dots % batch_size).zero? | |||
@output.puts "." if (dots % batch_size).zero? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be @output.print
6dcc33e
to
c7b0778
Compare
Hello @ianfixes It will be nice if you could publish a release. Kind regards |
arduino_library_location.rb
@scls19fr I will get to it, I have been maintaining some other projects |
Released |
Adds ability to do cross-platform build scripts, ensuring that custom libraries get copied into the correct Arduino library directory.
Highlights from
CHANGELOG.md
ArduinoInstallation
andArduinoDownloader
now allow console output to optionally be set to anIO
object of choice duringforce_install
ArduinoInstallation::force_install
now optionally accepts a version stringarduino_library_location.rb
script to print Arduino library location to stdoutIssues Fixed