-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathinstall.sh
executable file
·33 lines (33 loc) · 1.1 KB
/
install.sh
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
27
28
29
30
31
32
33
#!/usr/bin/env bash
echo -e "Welcome to the install Script of the whole repo"
if [[ "$1" == "--dry-run" ]]; then
echo -e "Not cloning the repo, per user's request"
else
git clone https://github.com/OlivierLD/raspberry-coffee.git
fi
NEW_VERSION=true
if [[ "${NEW_VERSION}" != "true" ]]; then
pushd raspberry-coffee
# git submodule update --init
git clone https://github.com/OlivierLD/AstroComputer.git
# ./gradlew tasks --all
./gradlew projects
echo -e "---------------------------------------------------------"
echo -e "You should be good to go, the infrastructure is in place."
echo -e "Try for example:"
echo -e " \$ cd RESTNavServer"
echo -e " \$../gradlew shadowJar"
echo -e ""
echo -e "Contact: [email protected]"
popd
else
# ./gradlew tasks --all
./gradlew projects
echo -e "---------------------------------------------------------"
echo -e "You should be good to go, the infrastructure is in place."
echo -e "Try for example:"
echo -e " \$ cd RESTNavServer"
echo -e " \$../gradlew shadowJar"
echo -e ""
echo -e "Contact: [email protected]"
fi