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:
Guillaume de Rouville 2021-08-13 12:37:56 +02:00
parent 8e9a56a024
commit 2bcd7a7dbf
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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