mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2026-01-22 17:16:11 +00:00
24 lines
485 B
Bash
Executable File
24 lines
485 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} app/cli-tests/src/test/resources/{ac,acx}-config.yml
|