summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2020-05-01 09:37:21 -0700
committerGitHub <noreply@github.com>2020-05-01 09:37:21 -0700
commitd0dfa1ea4d844d87efa68a69053b813c4377c557 (patch)
tree455f8f983d05b9a14cd4b1b544a400947ff2c80f /share
parent40f70c4d4f99e806d0d5671f8098783a99bd9691 (diff)
downloadspack-d0dfa1ea4d844d87efa68a69053b813c4377c557.tar.gz
spack-d0dfa1ea4d844d87efa68a69053b813c4377c557.tar.bz2
spack-d0dfa1ea4d844d87efa68a69053b813c4377c557.tar.xz
spack-d0dfa1ea4d844d87efa68a69053b813c4377c557.zip
dev-build: --drop-in <shell> (#14887)
* dev-build: --drop-in <shell> Add a `--drop-in <shell>` option to `spack dev-build`. This option will automatically run a `spack build-env <spec> -- <shell>` at the end of a `dev-build`, e.g. to quickly drop-and-devel into a build phase of a package. Example usage: ``` spack dev-build --before cmake --drop-in bash openpmd-api@develop ``` * build_env: drop in unit test Co-authored-by: Greg Becker <becker33@llnl.gov>
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 5a4fb027c9..fce5360ff5 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -697,7 +697,7 @@ _spack_deprecate() {
_spack_dev_build() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -j --jobs -d --source-path -i --ignore-dependencies -n --no-checksum --keep-prefix --skip-patch -q --quiet -b --before -u --until --clean --dirty"
+ SPACK_COMPREPLY="-h --help -j --jobs -d --source-path -i --ignore-dependencies -n --no-checksum --keep-prefix --skip-patch -q --quiet --drop-in -b --before -u --until --clean --dirty"
else
_all_packages
fi
@@ -706,7 +706,7 @@ _spack_dev_build() {
_spack_diy() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -j --jobs -d --source-path -i --ignore-dependencies -n --no-checksum --keep-prefix --skip-patch -q --quiet -b --before -u --until --clean --dirty"
+ SPACK_COMPREPLY="-h --help -j --jobs -d --source-path -i --ignore-dependencies -n --no-checksum --keep-prefix --skip-patch -q --quiet --drop-in -b --before -u --until --clean --dirty"
else
_all_packages
fi