Skip to content
Newer
Older
100755 21 lines (16 sloc) 625 Bytes
44c971d @timwienk Update, Register, Build. It's like Veni, Vidi, Vici, but with Power.
timwienk authored Feb 4, 2011
1 #!/bin/bash
2
3 PACKAGES='Custom-Event Mobile Class-Extras History Form-AutoGrow Form-Placeholder DynamicMatcher EventStack ScrollLoader Tree Interface'
4 PACKAGER=$1
5
6 if [ -z "$PACKAGER" ]; then
7 PACKAGER=$(which packager || echo './packager')
8 fi
9
10 if [ ! -x "$PACKAGER" ]; then
11 echo "Usage: $0 [packager]"
12 echo
13 echo 'arguments:'
14 echo ' packager Path to packager executable. If not given, it tries to find'
15 echo ' packager in your $PATH, then in your current working directory.'
16 exit 1
17 fi
18
19 COMPONENTS=$(echo $PACKAGES | sed "s/\([^ ]*\)/'\1\/*'/g")
20 bash -c "$PACKAGER build $COMPONENTS +use-only $PACKAGES"
Something went wrong with that request. Please try again.