Support config variables in config.yaml extensions paths (#17772)

This commit is contained in:
Jordan Galby
2022-02-07 11:40:52 +01:00
committed by GitHub
parent f3139555b1
commit 37ae4c0fdb
4 changed files with 32 additions and 10 deletions

View File

@@ -38,8 +38,7 @@ obtained by cloning the corresponding git repository:
.. code-block:: console
$ pwd
/home/user
$ cd ~/
$ mkdir tmp && cd tmp
$ git clone https://github.com/alalazo/spack-scripting.git
Cloning into 'spack-scripting'...
@@ -62,7 +61,7 @@ paths to ``config.yaml``. In the case of our example this means ensuring that:
config:
extensions:
- /home/user/tmp/spack-scripting
- ~/tmp/spack-scripting
is part of your configuration file. Once this is setup any command that the extension provides
will be available from the command line: