mirror of
https://github.com/AppleCommander/bastools.git
synced 2026-01-25 16:16:37 +00:00
24 lines
482 B
Bash
Executable File
24 lines
482 B
Bash
Executable File
#!/bin/bash
|
|
|
|
DIR=".bin"
|
|
if [ ! -d ${DIR} ]
|
|
then
|
|
mkdir ${DIR}
|
|
fi
|
|
|
|
CLTH="${DIR}/clth.jar"
|
|
if [ ! -f ${CLTH} ]
|
|
then
|
|
eval $(cat build.gradle | grep clthVersion | tr -d ' ')
|
|
if [ -z "${clthVersion}" ]
|
|
then
|
|
echo "clthVersion was not found"
|
|
return 1
|
|
fi
|
|
|
|
URL="https://github.com/a2geek/command-line-test-harness/releases/download/${clthVersion}/clth-${clthVersion}.jar"
|
|
curl -o ${CLTH} -L ${URL}
|
|
fi
|
|
|
|
java -jar ${CLTH} tools/tests/src/test/resources/{bt,st}-config.yml
|