Skip to content

Commit f6dfb27

Browse files
Leonardoladyada
Leonardo
authored andcommitted
Note about installing multiple libraries (espressif#46)
* Note about installing multiple libraries * "Hack" on how to install external libraries
1 parent b311699 commit f6dfb27

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Diff for: README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ env:
3636
before_install:
3737
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
3838
install:
39-
- arduino --install-library "Adafruit SleepyDog Library","Adafruit FONA Library"
39+
# Note that every library should be installed in a seperate command
40+
- arduino --install-library "Adafruit SleepyDog Library"
41+
- arduino --install-library "Adafruit FONA Library"
4042
script:
4143
- build_main_platforms
4244
notifications:
@@ -116,3 +118,9 @@ It will automatically add the `.YOUR_PLATFORM_HERE.test.skip` files to the examp
116118
```
117119
$ travis_skip esp8266
118120
```
121+
122+
## Using external libraries
123+
External libraries (which are not hosted by the Arduino library manager) can be installed using the following command:
124+
```
125+
- if [! -d "$HOME/arduino_ide/libraries/<Name>" ]; then git clone <URL> $HOME/arduino_ide/libraries/<Name>; fi
126+
```

0 commit comments

Comments
 (0)