Skip to content

Commit

Permalink
make spack.lock more readable by processing first with jq (#299)
Browse files Browse the repository at this point in the history
* make spack.lock more readable by processing first with jq

* Update outputs/environments.sh

Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>

* Update outputs/environments/lockfile-1.out

Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>

---------

Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
  • Loading branch information
eugeneswalker and haampie committed Nov 11, 2023
1 parent a44b9c9 commit b71d8bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion outputs/environments.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ example environments/add-anonymous-1 "cat spack.yaml"
example environments/remove-anonymous-1 "spack remove hdf5"
example environments/remove-anonymous-1 "cat spack.yaml"

example environments/lockfile-1 "head -30 spack.lock"
example environments/lockfile-1 "jq < spack.lock | head -30"

example environments/create-from-file-1 "spack env create abstract spack.yaml"

Expand Down
2 changes: 1 addition & 1 deletion outputs/environments/lockfile-1.out
Original file line number Diff line number Diff line change
@@ -1 +1 @@
$ head -30 spack.lock
$ jq < spack.lock | head -30

0 comments on commit b71d8bd

Please sign in to comment.