Docs: 102: shorten note about plan manual copy

Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
Solomon Hykes 2021-06-16 14:39:37 +00:00 committed by Solomon Hykes
parent 9546372caa
commit 469f45806a

View File

@ -217,7 +217,7 @@ You can also browse the [Dagger Universe](/reference/universe) reference in the
### Create a new environment ### Create a new environment
Now that your Cue package is ready, let's create an environment to run it, Now that your Cue package is ready, let's create an environment to run it:
```shell ```shell
dagger new 'multibucket' dagger new 'multibucket'
@ -231,10 +231,9 @@ Now let's configure the new environment to use our package as its plan:
cp multibucket-*.cue .dagger/env/multibucket/plan/ cp multibucket-*.cue .dagger/env/multibucket/plan/
``` ```
Note: you need to copy the files from your package into the environment's plan directory, as shown above. Note: you need to copy the files from your package into the environment, as shown above.
This means that, if you make more changes to your package, you will need to copy the new version into the plan directory, or it will not be used. If you make more changes to your package, you will need to copy the new version, or it will not be used.
If you prefer, you can also edit the cue files directly in the plan directory, but we don't recommend it. In the future, we will add the ability to reference your Cue package directory, making this manual copy unnecessary.
In the future, we will probably add the ability to reference your package to make the manual copy unnecessary.
### Configure user inputs ### Configure user inputs