Skip to content

Commit 489e12b

Browse files
committed
Use spack location to direct user to the package
1 parent 5471a11 commit 489e12b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎03_building_and_packaging/spack_exercise.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Please do all the development inside a Docker container. The Docker container is
4141

4242
**Note 1**: When specifying the URL to the software, you need to use the URL of the original repository name [`spack-exercise`](https://github.com/Simulation-Software-Engineering/spack-exercise). Sometimes the versions are not correctly detected from the original repository name. In case this happens, use the URL of one version, for example [v0.1.0](https://github.com/Simulation-Software-Engineering/spack-exercise/releases/tag/v0.1.0) of the original repository. Spack will then detect the respective version. To add more versions, change the URL accordingly. Packaging the code from your fork will fail because the releases are forked only partially. In your fork the archives, i.e., the `zip` and `tar.gz` files, will be missing.
4343

44-
**Note 2**: Spack will open the created package file automatically in an editor. If you want to use a different editor or want to edit the package later, you can find the package file in `${HOME}/.spack/package_repos/fncqgg4/repos/spack_repo/builtin/packages/spack_exercise$` (inside the container).
44+
**Note 2**: Spack will open the created package file automatically in an editor. If you want to use a different editor or want to edit the package later, you can locate the package file using `spack location --package-dir spack_exercise` (inside the container).
4545

4646
- Verify that the class name of the package is `SpackExercise`.
4747
- Verify that all three releases are listed.

0 commit comments

Comments
 (0)