Skip to main content
added 4 characters in body
Source Link
Richard
  • 63k
  • 40
  • 200
  • 277

Why dont we just write a script with a single copy command, copying our libs from wherever our library is located into the arduino IDE library folder?

This way we keep the file structure we want and use the IDE library requirements without fuss.

Something like this works for me:

cp -r mylibs/* ~/Documents/programs/arduino-1.5.8/libraries/.

cp -r mylibs/* ~/Documents/programs/arduino-1.5.8/libraries/.

Note that the paths are relative to my own file structure.

Hope this helps someone. This includes my future self that I bet will be reading this in a near future... as usual!

J

Why dont we just write a script with a single copy command, copying our libs from wherever our library is located into the arduino IDE library folder?

This way we keep the file structure we want and use the IDE library requirements without fuss.

Something like this works for me:

cp -r mylibs/* ~/Documents/programs/arduino-1.5.8/libraries/.

Note that the paths are relative to my own file structure.

Hope this helps someone. This includes my future self that I bet will be reading this in a near future... as usual!

J

Why dont we just write a script with a single copy command, copying our libs from wherever our library is located into the arduino IDE library folder?

This way we keep the file structure we want and use the IDE library requirements without fuss.

Something like this works for me:

cp -r mylibs/* ~/Documents/programs/arduino-1.5.8/libraries/.

Note that the paths are relative to my own file structure.

Hope this helps someone. This includes my future self that I bet will be reading this in a near future... as usual!

J

Source Link

Why dont we just write a script with a single copy command, copying our libs from wherever our library is located into the arduino IDE library folder?

This way we keep the file structure we want and use the IDE library requirements without fuss.

Something like this works for me:

cp -r mylibs/* ~/Documents/programs/arduino-1.5.8/libraries/.

Note that the paths are relative to my own file structure.

Hope this helps someone. This includes my future self that I bet will be reading this in a near future... as usual!

J