-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake.sh
More file actions
executable file
·26 lines (22 loc) · 803 Bytes
/
make.sh
File metadata and controls
executable file
·26 lines (22 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
# The pde.jar file may be buried inside the .app file on Mac OS X.
#PDE="/Users/binder/Applications/Arduino.app/Contents/Java/pde.jar"
#CORE="/Users/binder/Applications/Arduino.app/Contents/Java/arduino-core.jar"
PDE="/home/binder/.local/share/flatpak/app/cc.arduino.arduinoide/current/active/files/Arduino/lib/pde.jar"
CORE="/home/binder/.local/share/flatpak/app/cc.arduino.arduinoide/current/active/files/Arduino/lib/arduino-core.jar"
javac -target 1.8 -source 1.8 \
-cp "$CORE:$PDE" \
-d bin \
src/CBTool.java \
src/RABaseFile.java \
src/RAFeatures.java \
src/RALabels.java \
src/RALibsVersion.java \
src/RACustomSettings.java
if [ ! -d "tool" ]; then
# tool directory doesn't exist, so create it
mkdir tool
fi
cd bin
zip -x *.DS_Store -r ../tool/cbtool.jar *
cd ..