summaryrefslogtreecommitdiff
path: root/ct-ng.comp
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-31 18:31:01 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-31 18:31:01 (GMT)
commitea9b9ea07b96f9b9df767dc2a38141327045dfc1 (patch)
treeaa3d88d4a9c05674f0474ee96a0c60192cfcbcf7 /ct-ng.comp
parenteb0d243d0353fa9c62b1d579d3186d2683e3463d (diff)
Remove regtest actions, introduce build-all actions:
- regtest was not easy to use - one may wish to simply build all samples - introduce a per-sample automatic build /trunk/docs/overview.txt | 19 14 5 0 ++++++++--- /trunk/samples/samples.mk | 92 49 43 0 ++++++++++++++++++++++++++++------------------------- /trunk/ct-ng.comp | 8 5 3 0 +++-- 3 files changed, 68 insertions(+), 51 deletions(-)
Diffstat (limited to 'ct-ng.comp')
-rw-r--r--ct-ng.comp8
1 files changed, 5 insertions, 3 deletions
diff --git a/ct-ng.comp b/ct-ng.comp
index 7560751..b0e0dc8 100644
--- a/ct-ng.comp
+++ b/ct-ng.comp
@@ -8,19 +8,21 @@ _ct-ng () {
samples=$(${COMP_WORDS[0]} list-samples 2>/dev/null)
show_samples=$(echo "${samples}" |sed -r -e 's/(^| )/\1show-/g;')
+ build_samples=$(echo "${samples}" |sed -r -e 's/(^| )/\1build-/g;')
steps=$(${COMP_WORDS[0]} list-steps 2>/dev/null |awk '$1 == "-" { print $2; }')
start_steps=$(echo "${steps}" |sed -r -e 's/($| )/\1+/;')
stop_steps=$(echo "${steps}" |sed -r -e 's/(^| )/+\1/;')
actions='help menuconfig oldconfig saveconfig
- list-samples build build. list-steps regtest regtest-local
- regtest-global clean distclean wiki-samples updatetools
+ build build. build-all build-all.
+ list-samples list-steps
+ clean distclean wiki-samples updatetools
tarball version'
vars="RESTART= STOP="
- ct_ng_opts="${samples} ${show_samples}
+ ct_ng_opts="${samples} ${show_samples} ${build_samples}
${steps} ${start_steps} ${stop_steps}
${actions} ${vars}"