diff options
author | Matthew LeGendre <legendre1@llnl.gov> | 2017-11-12 19:09:12 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-11-12 20:09:12 -0700 |
commit | 265c30b943798b71d1a312ffa4f940d48f8f1ef7 (patch) | |
tree | 6df2c44a0aeb0a3024add85bdbf5693007c65e4c /bin | |
parent | b09341d861f90c4d3745d25d44d76ff90b3c4967 (diff) | |
download | spack-265c30b943798b71d1a312ffa4f940d48f8f1ef7.tar.gz spack-265c30b943798b71d1a312ffa4f940d48f8f1ef7.tar.bz2 spack-265c30b943798b71d1a312ffa4f940d48f8f1ef7.tar.xz spack-265c30b943798b71d1a312ffa4f940d48f8f1ef7.zip |
Update packaging tutorial (#6270)
* Allow types and 'any' in variant definitions.
- Previously variant values had to be a tuple or a callable predicate.
- This allows 'any' as shorthand for `lambda x: True` and type objects
as shorthand for "any value of this type".
- Makes variant definitions more readable, keeps lambdas out of
packages for common cases.
* Update packaging tutorial
* Fix bad file reference in packaging tutorial
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions