summaryrefslogtreecommitdiff
path: root/net:foret/completion/_sdk-targets
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2014-10-23 15:03:41 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2014-10-23 15:03:41 +0200
commit60adbe0687e54888c1f3636b68d5932522561e15 (patch)
tree847b37817fb9623b02248ade16cfc0a75b8dca00 /net:foret/completion/_sdk-targets
parent1006f4ca8af4eb63ba2082d0bb9cc921406480e2 (diff)
[Completion] discards compaudit error messages
- give fpath folders to root:root, with go-w - do the same for the parent folder of each....
Diffstat (limited to 'net:foret/completion/_sdk-targets')
-rw-r--r--net:foret/completion/_sdk-targets77
1 files changed, 0 insertions, 77 deletions
diff --git a/net:foret/completion/_sdk-targets b/net:foret/completion/_sdk-targets
deleted file mode 100644
index 3428566..0000000
--- a/net:foret/completion/_sdk-targets
+++ /dev/null
@@ -1,77 +0,0 @@
-#compdef sdk-factory.sh sdk-patch.sh sdk-test.sh sdk-qa.sh set-target-build-env.sh sdk-check.sh
-
-_sdk-targets() {
-
- _platforms () {
- local _targets_file
-
- # New-style
- _targets_file=tools/builder/target.sh
- if [ -e $_targets_file ]
- then
- source $_targets_file
- echo ${=AVAILABLE_TARGETS}
- fi
-
- # Old-style
- _targets_file=tools/sdk-targets.txt
- if [ -f $_targets_file ]
- then
- awk '/^ [-_a-zA-Z0-9]+$/ { print $1 }' $_targets_file
- return
- fi
- }
-
- _current_target () {
- local _targets_file=tools/builder/target.sh
- [ ! -z "$TARGET" ] || return
-
- echo $TARGET":Standard SDK"
-
- if [ -e $_targets_file ]
- then
- source $_targets_file
- for i in ${=AVAILABLE_FLAVOUR}
- echo ${TARGET}-$i:$i
- for i in ${=AVAILABLE_OPTIONS}
- echo ${TARGET}-$i:$i
- fi
- }
-
- _other_targets () {
- for target in $( _platforms ) ;
- do
- [ "$target" = "$TARGET" ] && continue;
- echo $target
- done
- }
-
- case "$service" in
- sdk-factory.sh)
- _arguments \
- {-a,--enable-all-protocols}'[Enable all protocols]'\
- {-c+,--config=}'[Selects config FILE to use]:file:_files'\
- {-d,--debug-make}'[Add debugging verbosity to make]'\
- {-g,--enable-debug-info}'[Enable debug info in binaries]'\
- {-h,--enable-host}'[Enable host binaries building]'\
- {-i,--disable-security}'[Disable licence checking]'\
- {-n,--nomake}'[No make done]'\
- {-s,--enable-specific-protocols}'[Enable specific protocols]'\
- {-v,--verbose}'[Enable verbose compilation]'\
- ':current target:(( $(_current_target) ))' \
- - framework \
- {-f,--framework-only}'[Generates only the framework libraries]'\
- - protobundle \
- {-p,--protocols-only}'[Generates only the protocols bundle libraries]'
- _alternative ':other targets:(( $( _other_targets ) ))'
- ;;
- set-target-build-env.sh)
- _arguments ':platforms:(( $(_platforms) ))'
- ;;
- sdk-*)
- _arguments ':current target:(( $( _current_target) ))'
- _alternative ':other targets:(( $( _other_targets ) ))'
- ;;
- esac
-
-}