From 807618dec6e6c4f08618709d4de6f9ed1b832c09 Mon Sep 17 00:00:00 2001 From: per1234 Date: Mon, 9 Jul 2018 19:03:23 -0700 Subject: [PATCH] Move library to root of repository A popular library installation technique is to download the library via GitHub's Clone or download > Download ZIP and then use the Arduino IDE's Sketch > Include Library > Add .ZIP Library on the downloaded file. This requires the library to be in the root of the repository, not in a subfolder. If the library is not in the root of the repository this installation technique fails: Specified folder/zip file does not contain a valid library This is the standard repository structure used in all official Arduino libraries: https://github.com/arduino-libraries This move is also required if you wanted to add your library to the Arduino Library Manager index, which provides an even easier installation option. --- libraries/Grove_Serial_MP3_Player/MP3.cpp => MP3.cpp | 0 libraries/Grove_Serial_MP3_Player/MP3.h => MP3.h | 0 .../examples => examples}/MP3_Console/MP3_Console.ino | 0 libraries/Grove_Serial_MP3_Player/keywords.txt => keywords.txt | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename libraries/Grove_Serial_MP3_Player/MP3.cpp => MP3.cpp (100%) rename libraries/Grove_Serial_MP3_Player/MP3.h => MP3.h (100%) rename {libraries/Grove_Serial_MP3_Player/examples => examples}/MP3_Console/MP3_Console.ino (100%) rename libraries/Grove_Serial_MP3_Player/keywords.txt => keywords.txt (100%) diff --git a/libraries/Grove_Serial_MP3_Player/MP3.cpp b/MP3.cpp similarity index 100% rename from libraries/Grove_Serial_MP3_Player/MP3.cpp rename to MP3.cpp diff --git a/libraries/Grove_Serial_MP3_Player/MP3.h b/MP3.h similarity index 100% rename from libraries/Grove_Serial_MP3_Player/MP3.h rename to MP3.h diff --git a/libraries/Grove_Serial_MP3_Player/examples/MP3_Console/MP3_Console.ino b/examples/MP3_Console/MP3_Console.ino similarity index 100% rename from libraries/Grove_Serial_MP3_Player/examples/MP3_Console/MP3_Console.ino rename to examples/MP3_Console/MP3_Console.ino diff --git a/libraries/Grove_Serial_MP3_Player/keywords.txt b/keywords.txt similarity index 100% rename from libraries/Grove_Serial_MP3_Player/keywords.txt rename to keywords.txt