Merge pull request #1217 from jygastaud/docs/dev-cue-package

docs:  make dev-cue-package example naming consitant
This commit is contained in:
Sam Alba 2021-12-14 16:22:51 -08:00 committed by GitHub
commit dd4c360a7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 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

View File

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

View File

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