-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBattleship.sh
executable file
·20 lines (17 loc) · 1.14 KB
/
Battleship.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
cd IABattleship/
javac src/guary/nicolas/*.java src/fr/battleship/*.java src/fr/igpolytech/guary/exceptions/*.java
cd src
java guary.nicolas.Battleship
find . -type f -path "./guary/nicolas/*" -name "*.class" -exec rm -f {} \;
find . -type f -path "./guary/nicolas/*/*" -name "*.class" -exec rm -f {} \;
find . -type f -path "./guary/nicolas/*/*/*" -name "*.class" -exec rm -f {} \;
find . -type f -path "./guary/nicolas/*/*/*/*" -name "*.class" -exec rm -f {} \;
find . -type f -path "./fr/battleship/*" -name "*.class" -exec rm -f {} \;
find . -type f -path "./fr/battleship/*/*" -name "*.class" -exec rm -f {} \;
find . -type f -path "./fr/battleship/*/*/*" -name "*.class" -exec rm -f {} \;
find . -type f -path "./fr/battleship/*/*/*/*" -name "*.class" -exec rm -f {} \;
find . -type f -path "./fr/igpolytech/guary/exceptions/*" -name "*.class" -exec rm -f {} \;
find . -type f -path "./fr/igpolytech/guary/exceptions/*/*" -name "*.class" -exec rm -f {} \;
find . -type f -path "./fr/igpolytech/guary/exceptions/*/*/*" -name "*.class" -exec rm -f {} \;
find . -type f -path "./fr/igpolytech/guary/exceptions/*/*/*/*" -name "*.class" -exec rm -f {} \;