diff --git a/commands/web/bun b/commands/web/bun index 78abdfd..ec92ab2 100644 --- a/commands/web/bun +++ b/commands/web/bun @@ -5,5 +5,6 @@ ## Usage: bun ## Example: "ddev bun" ## ExecRaw: true +## HostWorkingDir: true bun "$@" diff --git a/install.yaml b/install.yaml index e3ac32a..0586570 100644 --- a/install.yaml +++ b/install.yaml @@ -1,5 +1,5 @@ -name: ddev-bun +name: bun project_files: - commands/web/bun -- web-build/Dockerfile.ddev-bun +- web-build/Dockerfile.bun diff --git a/tests/test.bats b/tests/test.bats index 653b294..eefa3ff 100644 --- a/tests/test.bats +++ b/tests/test.bats @@ -1,9 +1,9 @@ setup() { set -eu -o pipefail export DIR="$( cd "$( dirname "$BATS_TEST_FILENAME" )" >/dev/null 2>&1 && pwd )/.." - export TESTDIR=~/tmp/ddev-bun + export TESTDIR=~/tmp/test-bun mkdir -p $TESTDIR - export PROJNAME=ddev-bun + export PROJNAME=test-bun export DDEV_ADDON=Morgy93/ddev-bun export DDEV_NON_INTERACTIVE=true ddev delete -Oy ${PROJNAME} >/dev/null 2>&1 || true diff --git a/web-build/Dockerfile.ddev-bun b/web-build/Dockerfile.bun similarity index 100% rename from web-build/Dockerfile.ddev-bun rename to web-build/Dockerfile.bun