docs: make dev-cue-package example naming consitant

Signed-off-by: Jean-Yves Gastaud <jygastaud@gmail.com>
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
Jean-Yves Gastaud 2021-12-14 11:01:31 +01:00 committed by Sam Alba
parent 8b33923ca5
commit 7ad5f264e6
3 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ Let's write the package logic. It is basically what we've seen in the 106-cloudr
touch cue.mod/pkg/github.com/username/gcpcloudrun/source.cue
```
```cue file=./tests/dev-cue-package/source.cue title="cue.mod/pkg/github.com/tjovicic/gcpcloudrun/source.cue"
```cue file=./tests/dev-cue-package/source.cue title="cue.mod/pkg/github.com/username/gcpcloudrun/source.cue"
```
### Running the package

View File

@ -6,7 +6,7 @@ cat > test/source.cue << EOF
package test
import (
"github.com/tjovicic/gcpcloudrun"
"github.com/username/gcpcloudrun"
)
run: gcpcloudrun.#Run

View File

@ -263,8 +263,8 @@ setup() {
# # Writing package
# # dagger init # The sandbox is already init
# mkdir -p "$DAGGER_SANDBOX"/cue.mod/pkg/github.com/tjovicic/gcpcloudrun
# cp "$DAGGER_PROJECT"/dev-cue-package/source.cue "$DAGGER_SANDBOX"/cue.mod/pkg/github.com/tjovicic/gcpcloudrun/source.cue
# mkdir -p "$DAGGER_SANDBOX"/cue.mod/pkg/github.com/username/gcpcloudrun
# cp "$DAGGER_PROJECT"/dev-cue-package/source.cue "$DAGGER_SANDBOX"/cue.mod/pkg/github.com/username/gcpcloudrun/source.cue
# cp "$DAGGER_PROJECT"/dev-cue-package/script.sh "$DAGGER_SANDBOX"/project/script.sh
# # We remove the last line of the script, as bats cannot expand dagger