2022-04-21 23:56:01 +08:00
|
|
|
#!/bin/bash
|
|
|
|
JAR_DIR="$HOME/usr/share/recording-imex"
|
|
|
|
JAR_NAME="bbb-recording-imex-1.0-SNAPSHOT-shaded.jar"
|
|
|
|
RUN_DIR="$HOME/usr/local/bin"
|
|
|
|
|
|
|
|
mkdir -p $JAR_DIR
|
|
|
|
mkdir -p $RUN_DIR
|
|
|
|
mvn package -Dmaven.test.skip
|
|
|
|
cp target/${JAR_NAME} $JAR_DIR
|
|
|
|
echo '#!/bin/bash
|
2022-05-12 23:40:57 +08:00
|
|
|
java -jar '${JAR_DIR}'/'${JAR_NAME} '"$@"'> ${RUN_DIR}/recording-imex.sh
|
|
|
|
chmod +x ${RUN_DIR}/recording-imex.sh
|