Skip to content

Commit 19a5ef7

Browse files
authored
update installation instructions and tests to use 'ddev add-on get' (#6)
1 parent 0f47254 commit 19a5ef7

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@ YouTube: [Bun 1.0 is here](https://www.youtube.com/watch?v=BsnCpESUEqM)
2828
## Installation
2929

3030
```shell
31-
ddev get Morgy93/ddev-bun
31+
ddev add-on get Morgy93/ddev-bun
3232
ddev restart
3333
```
3434

35+
> [!NOTE]
36+
> For DDEV versions prior to v1.23.5, use `ddev get` instead of `ddev add-on get`.
37+
3538
## Usage
3639

3740
```shell

tests/test.bats

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ teardown() {
2626
@test "install from directory" {
2727
set -eu -o pipefail
2828
cd ${TESTDIR}
29-
echo "# ddev get ${DIR} with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3
30-
ddev get ${DIR}
29+
echo "# ddev add-on get ${DIR} with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3
30+
ddev add-on get ${DIR}
3131
ddev restart
3232
health_checks
3333
}
3434

3535
@test "install from release" {
3636
set -eu -o pipefail
3737
cd ${TESTDIR} || ( printf "unable to cd to ${TESTDIR}\n" && exit 1 )
38-
echo "# ddev get ${DDEV_ADDON} with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3
39-
ddev get ${DDEV_ADDON}
38+
echo "# ddev add-on get ${DDEV_ADDON} with project ${PROJNAME} in ${TESTDIR} ($(pwd))" >&3
39+
ddev add-on get ${DDEV_ADDON}
4040
ddev restart >/dev/null
4141
health_checks
4242
}

0 commit comments

Comments
 (0)