Split leo-new test into shell file

This commit is contained in:
howardwu 2021-02-24 21:18:42 -08:00
parent 4004f7575c
commit ef642cbe54
2 changed files with 5 additions and 4 deletions

View File

@ -71,10 +71,7 @@ jobs:
name: leo new name: leo new
command: | command: |
export LEO=./project/bin/leo export LEO=./project/bin/leo
leo new hello-world ./home/circleci/project/.circleci/leo-new.sh
ls -la
cd hello-world && ls -la
leo run
workflows: workflows:
version: 2 version: 2

4
.circleci/leo-new.sh Executable file
View File

@ -0,0 +1,4 @@
$LEO new hello-world
ls -la
cd hello-world && ls -la
$LEO run