Skip to content

Commit e8bfd11

Browse files
committed
new file: mksketch.sh
new file: utility/BareMinimum.pde modified: utility/Makefile
1 parent 4a4fee0 commit e8bfd11

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

mksketch.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
if [ -n "$1" ]
3+
then
4+
DIR="$1"
5+
echo "Creo la cartella"
6+
mkdir -p ./sketch/${DIR}
7+
echo "Copio i file"
8+
cp ./utility/BareMinimum.pde ./sketch/${DIR}/${DIR}.pde
9+
cp ./utility/Makefile ./sketch/${DIR}/
10+
echo 'fine'
11+
else
12+
echo "Occorre specificare un nome per lo sketch"
13+
exit
14+
fi

utility/BareMinimum.pde

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
void setup() {
2+
// put your setup code here, to run once:
3+
4+
}
5+
6+
void loop() {
7+
// put your main code here, to run repeatedly:
8+
9+
}

0 commit comments

Comments
 (0)