-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·27 lines (25 loc) · 878 Bytes
/
install.sh
File metadata and controls
executable file
·27 lines (25 loc) · 878 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
27
#!/bin/bash
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='bco-eveson'
APP_NAME=${BLUE}${APP_NAME}${NC}
echo -e "=== ${APP_NAME} project ${WHITE}cleanup${NC}" &&
mvn clean --quiet $@ &&
echo -e "=== ${APP_NAME} project ${WHITE}installation${NC}" &&
mvn install \
-DassembleDirectory=${prefix} \
-DskipTests=true \
-Dmaven.test.skip=true \
-Dlicense.skipAddThirdParty=true \
-Dlicense.skipUpdateProjectLicense=true \
-Dlicense.skipDownloadLicenses \
-Dlicense.skipCheckLicense=true \
-Dmaven.license.skip=true \
-Daudio.resource.folder=${prefix}/share/audio/samples/eveson \
-Dconfig.folder=${prefix}/etc/eveson \
--quiet $@ &&
echo -e "=== ${APP_NAME} was ${GREEN}successfully${NC} installed to ${WHITE}${prefix}${NC}"