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:
parent
8b33923ca5
commit
7ad5f264e6
@ -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
|
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
|
### Running the package
|
||||||
|
@ -6,7 +6,7 @@ cat > test/source.cue << EOF
|
|||||||
package test
|
package test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/tjovicic/gcpcloudrun"
|
"github.com/username/gcpcloudrun"
|
||||||
)
|
)
|
||||||
|
|
||||||
run: gcpcloudrun.#Run
|
run: gcpcloudrun.#Run
|
||||||
|
@ -263,8 +263,8 @@ setup() {
|
|||||||
|
|
||||||
# # Writing package
|
# # Writing package
|
||||||
# # dagger init # The sandbox is already init
|
# # dagger init # The sandbox is already init
|
||||||
# mkdir -p "$DAGGER_SANDBOX"/cue.mod/pkg/github.com/tjovicic/gcpcloudrun
|
# 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/tjovicic/gcpcloudrun/source.cue
|
# 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
|
# 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
|
# # We remove the last line of the script, as bats cannot expand dagger
|
||||||
|
Reference in New Issue
Block a user