leo/.circleci/leo-clone.sh

19 lines
293 B
Bash
Raw Normal View History

2021-02-25 20:34:06 +03:00
# leo clone
2021-02-25 21:58:52 +03:00
# Clone the test-app package.
export PACKAGE="$ALEO_PM_USERNAME/test-app"
$LEO clone $PACKAGE
2021-02-25 20:34:06 +03:00
# Assert that the 'test-app' folder is not empty
cd test-app || exit 1
if [ "$(ls -A $DIR)" ]; then
echo "$DIR is not empty"
else
echo "$DIR is empty"
exit 1
fi
ls -la
$LEO run