bats - fix 1004 wrong cmd + move helper.bats cmd to make it more generic
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
This commit is contained in:
parent
8e9a56a024
commit
2bcd7a7dbf
@ -43,9 +43,6 @@ setup() {
|
|||||||
# Initialize new env
|
# Initialize new env
|
||||||
dagger new 'multibucket' -p ./multibucket
|
dagger new 'multibucket' -p ./multibucket
|
||||||
|
|
||||||
# Check inputs
|
|
||||||
dagger input list -e multibucket
|
|
||||||
|
|
||||||
# Copy corresponding env
|
# Copy corresponding env
|
||||||
cp -r $CODEBLOC_SRC/.dagger/env/multibucket .dagger/env/
|
cp -r $CODEBLOC_SRC/.dagger/env/multibucket .dagger/env/
|
||||||
# Add missing src input
|
# Add missing src input
|
||||||
|
@ -42,8 +42,8 @@ setup_example_sandbox() {
|
|||||||
export CODEBLOC_SRC="$(pwd)"
|
export CODEBLOC_SRC="$(pwd)"
|
||||||
local tmpdir=$(mktemp -d)
|
local tmpdir=$(mktemp -d)
|
||||||
cd $tmpdir
|
cd $tmpdir
|
||||||
git clone https://github.com/dagger/examples
|
|
||||||
if [ "$1" = "doc" ]; then
|
if [ "$1" = "doc" ]; then
|
||||||
|
git clone https://github.com/dagger/examples
|
||||||
cd examples/todoapp
|
cd examples/todoapp
|
||||||
cue mod init
|
cue mod init
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user