From 17a4b4272a61daf19b4e4e2298113f547e996891 Mon Sep 17 00:00:00 2001 From: Divine Threepwood Date: Wed, 24 Jan 2024 02:50:08 +0100 Subject: [PATCH] Import prepare script --- prepare.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 prepare.sh diff --git a/prepare.sh b/prepare.sh new file mode 100755 index 0000000..7eddc53 --- /dev/null +++ b/prepare.sh @@ -0,0 +1,16 @@ +#!/bin/bash -e + +NC='\033[0m' +RED='\033[0;31m' +GREEN='\033[0;32m' +ORANGE='\033[0;33m' +BLUE='\033[0;34m' +WHITE='\033[0;37m' + +APP_NAME='planetsudo engine' +APP_NAME=${BLUE}${APP_NAME}${NC} +echo -e "=== ${APP_NAME} project ${WHITE}cleanup${NC}" +./gradlew clean --quiet $@ +echo -e "=== ${APP_NAME} project ${WHITE}installation${NC}" +echo -e "nothing to prepare..." +echo -e "=== ${APP_NAME} was ${GREEN}successfully${NC} installed."