Update .gitignore to include .vscode directory; modify run.sh to append Main.java to sources.txt
This commit is contained in:
parent
b397a8e812
commit
90c2e55edc
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ build/
|
|||||||
instance/
|
instance/
|
||||||
*.class
|
*.class
|
||||||
*.db
|
*.db
|
||||||
|
.vscode/
|
||||||
|
|||||||
1
run.sh
1
run.sh
@ -9,6 +9,7 @@ if ! command -v java >/dev/null 2>&1; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
find src -name "*.java" > sources.txt
|
find src -name "*.java" > sources.txt
|
||||||
|
echo "Main.java" >> sources.txt
|
||||||
if ! javac -d build -cp "./extern/sqlite-jdbc-3.50.3.0.jar" @sources.txt Main.java; then
|
if ! javac -d build -cp "./extern/sqlite-jdbc-3.50.3.0.jar" @sources.txt Main.java; then
|
||||||
echo "Error: javac failed to compile sources."
|
echo "Error: javac failed to compile sources."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user