We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9679d5 commit c1d3700Copy full SHA for c1d3700
CHANGELOG.md
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
8
## [Unreleased]
9
### Added
10
+- `ensure_arduino_installation.rb` now ensures the existence of the library directory as well
11
12
### Changed
13
- Conserve CI testing minutes by grouping CI into fewer runs
exe/ensure_arduino_installation.rb
@@ -2,4 +2,10 @@
2
require 'arduino_ci'
3
4
# this will exit after Arduino is located and/or forcibly installed
5
-ArduinoCI::ArduinoInstallation.autolocate!
+backend = ArduinoCI::ArduinoInstallation.autolocate!
6
+lib_dir = backend.lib_dir
+
+unless lib_dir.exist?
+ puts "Creating libraries directory #{lib_dir}"
+ lib_dir.mkpath
+end
0 commit comments