mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-25 02:22:44 +03:00
19 lines
293 B
Bash
Executable File
19 lines
293 B
Bash
Executable File
# leo clone
|
|
|
|
# Clone the test-app package.
|
|
export PACKAGE="$ALEO_PM_USERNAME/test-app"
|
|
$LEO clone $PACKAGE
|
|
|
|
# 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
|