|
11 | 11 | Developer Workflows Tutorial |
12 | 12 | ============================ |
13 | 13 |
|
14 | | -This tutorial will guide you through the process of using the ``spack develop`` command to develop software from local source code within a spack environment. |
| 14 | +This tutorial will guide you through the process of using the ``spack develop`` command to develop software from local source code within a Spack environment. |
15 | 15 | With this command, Spack will manage your dependencies while you focus on testing changes to your library and/or application. |
16 | 16 |
|
17 | 17 |
|
@@ -139,19 +139,19 @@ Development iteration cycles |
139 | 139 | ----------------------------- |
140 | 140 |
|
141 | 141 | Let's assume that scr has a bug, and we'd like to patch scr to find out what the problem is. |
142 | | -First, we tell spack that we'd like to check out the version of scr that we want to work on. |
| 142 | +First, we tell Spack that we'd like to check out the version of scr that we want to work on. |
143 | 143 | In this case, it will be the 3.1.0 release that we want to write a patch for: |
144 | 144 |
|
145 | 145 | .. literalinclude:: outputs/dev/develop-1.out |
146 | 146 | :language: console |
147 | 147 |
|
148 | | -The spack develop command marks the package as being a "development" package in the ``spack.yaml``. |
| 148 | +The ``spack develop`` command marks the package as being a "development" package in the ``spack.yaml``. |
149 | 149 | This adds a special ``dev_path=`` attribute to the spec for the package, so Spack remembers where the source code for this package is located. |
150 | 150 | The develop command also downloads/checks out the source code for the package. |
151 | 151 | By default, the source code is downloaded into a subdirectory of the environment. |
152 | 152 | You can change the location of this source directory by modifying the ``path:`` attribute of the develop configuration in the environment. |
153 | 153 |
|
154 | | -There are a few gotchas with the spack develop command |
| 154 | +There are a few gotchas with the ``spack develop`` command |
155 | 155 |
|
156 | 156 | * You often specify the package version manually when specifying a |
157 | 157 | package as a dev package. Spack needs to know the version of the dev |
@@ -233,7 +233,7 @@ For example, we'll make another development environment here. |
233 | 233 |
|
234 | 234 | Here, ``spack develop`` with no arguments will check out or download the source code and place it in the appropriate places. |
235 | 235 |
|
236 | | -When we're done developing, we simply tell spack that it no longer needs to keep a development version of the package. |
| 236 | +When we're done developing, we simply tell Spack that it no longer needs to keep a development version of the package. |
237 | 237 |
|
238 | 238 | .. literalinclude:: outputs/dev/wrapup.out |
239 | 239 | :language: console |
|
0 commit comments