1
0
Форкнуть 0
services-implementation-cha.../code/build.sh

14 строки
325 B
Bash

#!/bin/bash
# Script to build frontend and backend
set -e
echo "Building backend..."
mvn -f backend/pom.xml -s settings.xml install
echo "Buidling frontend..."
mvn -f frontend/pom.xml -s settings.xml install
mkdir ../bin
cp backend/target/backend.war ../bin/backend.war
cp frontend/target/frontend.war ../bin/frontend.war