Skip to content

Commit b976cf5

Browse files
ensure release.sh bundles all .cpp and .h files
1 parent 854b877 commit b976cf5

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

release.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ mkdir -p temp/Firmata
77
cp -r examples temp/Firmata
88
cp -r extras temp/Firmata
99
cp -r utility temp/Firmata
10-
cp Boards.h temp/Firmata
11-
cp Firmata.cpp temp/Firmata
12-
cp Firmata.h temp/Firmata
10+
cp *.cpp temp/Firmata
11+
cp *.h temp/Firmata
1312
cp keywords.txt temp/Firmata
1413
cp readme.md temp/Firmata
1514
cd temp
@@ -23,9 +22,8 @@ cp library.properties temp/Firmata
2322
cd temp/Firmata
2423
mv readme.md ./extras/
2524
mkdir src
26-
mv Boards.h ./src/
27-
mv Firmata.cpp ./src/
28-
mv Firmata.h ./src/
25+
mv *.cpp ./src/
26+
mv *.h ./src/
2927
mv utility ./src/
3028
cd ..
3129
find . -name "*.DS_Store" -type f -delete

0 commit comments

Comments
 (0)