Last change
on this file since 28371 was 28371, checked in by davidb, 11 years ago |
Renaming of echoprint-codegen compile script to make CLIENT/SERVER naming scheme more consistent
|
-
Property svn:executable
set to
*
|
File size:
741 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | source ../cascade-make/lib/cascade-lib.bash GEXT_ECHOPRINT .. $*
|
---|
4 |
|
---|
5 |
|
---|
6 | arg1=$1 && shift
|
---|
7 |
|
---|
8 | packlist=
|
---|
9 | if [ "x$arg1" != "x" ] ; then
|
---|
10 |
|
---|
11 | if [ $arg1 == "client" -o $arg1 == "all" ] ; then
|
---|
12 | packlist="$packlist ECHOPRINT-CLIENT"
|
---|
13 | elif [ $arg1 = "server" -o $arg1 = "all" ] ; then
|
---|
14 | # Echoprint server is all Python code -- nothing to compile up!
|
---|
15 | packlist="$packlist"
|
---|
16 | else
|
---|
17 | echo "Warning: Unrecognized command '$1'" >&2
|
---|
18 | fi
|
---|
19 |
|
---|
20 | else
|
---|
21 | echo "Usage: ./CASCADE-MADE.sh client|server|all [install|clean|distclean|tarclean]" >&2
|
---|
22 | fi
|
---|
23 |
|
---|
24 |
|
---|
25 | for d in $packlist ; do
|
---|
26 | echo " Running CASCADE-MAKE/$d.sh"
|
---|
27 |
|
---|
28 | ./CASCADE-MAKE/$d.sh $*
|
---|
29 |
|
---|
30 | if [ $? != 0 ] ; then
|
---|
31 | echo "Error encountered running CASCADE-MAKE/$d.sh"
|
---|
32 | exit 1
|
---|
33 | fi
|
---|
34 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.