[asterisk-scf-commits] asterisk-scf/integration/slice.git branch "disintegrated-build" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Fri Jun 17 11:21:50 CDT 2011
branch "disintegrated-build" has been updated
via 4f839ac1d9b5b7bb786014538dbdfefb440cae65 (commit)
from b3e928be4e46686f261098ed80860123e49c056c (commit)
Summary of changes:
make-mono-api.sh | 8 ++++----
make-python-api.sh | 8 ++++----
make-ruby-api.sh | 8 ++++----
3 files changed, 12 insertions(+), 12 deletions(-)
- Log -----------------------------------------------------------------
commit 4f839ac1d9b5b7bb786014538dbdfefb440cae65
Author: Kevin P. Fleming <kpfleming at digium.com>
Date: Fri Jun 17 11:21:29 2011 -0500
Update Mono, Python and Ruby API build scripts for 'slice' directory.
diff --git a/make-mono-api.sh b/make-mono-api.sh
index 15ecb93..467daf8 100755
--- a/make-mono-api.sh
+++ b/make-mono-api.sh
@@ -17,12 +17,12 @@ rm -rf mono
mkdir -p mono/generated
-find AsteriskSCF -name \*.ice -print | while read slice
+find slice/AsteriskSCF -name \*.ice -print | while read slice
do
- slicedir=`dirname "${slice}"`
+ slicedir=`dirname "${slice:6}"`
mkdir -p "mono/generated/${slicedir}"
- echo "Translating ${slice} into C#..."
- ${ICE_HOME}/bin/slice2cs -I ${ICE_HOME}/slice -I . --output-dir "mono/generated/${slicedir}" --stream --checksum --plugin SliceVisitorPattern:create "${slice}"
+ echo "Translating ${slice:6} into C#..."
+ ${ICE_HOME}/bin/slice2cs -I ${ICE_HOME}/slice -I slice --output-dir "mono/generated/${slicedir}" --stream --underscore --checksum --plugin SliceVisitorPattern:create "${slice}"
done
echo "Compiling generated C# into a library..."
diff --git a/make-python-api.sh b/make-python-api.sh
index 3300179..006f8a9 100755
--- a/make-python-api.sh
+++ b/make-python-api.sh
@@ -17,12 +17,12 @@ rm -rf python
mkdir python
-find AsteriskSCF -name \*.ice -print | while read slice
+find slice/AsteriskSCF -name \*.ice -print | while read slice
do
- slicedir=`dirname "${slice}"`
+ slicedir=`dirname "${slice:6}"`
prefix="${slicedir//\//_}_"
- echo "Translating ${slice} into Python..."
- ${ICE_HOME}/bin/slice2py -I ${ICE_HOME}/slice -I . --output-dir python --checksum --plugin SliceVisitorPattern:create --prefix "${prefix}" "${slice}"
+ echo "Translating ${slice:6} into Python..."
+ ${ICE_HOME}/bin/slice2py -I ${ICE_HOME}/slice -I slice --output-dir python --underscore --checksum --plugin SliceVisitorPattern:create --prefix "${prefix}" "${slice}"
done
find python -name \*.py -print | while read py
diff --git a/make-ruby-api.sh b/make-ruby-api.sh
index decc27a..50153e8 100755
--- a/make-ruby-api.sh
+++ b/make-ruby-api.sh
@@ -17,12 +17,12 @@ rm -rf ruby
mkdir ruby
-find AsteriskSCF -name \*.ice -print | while read slice
+find slice/AsteriskSCF -name \*.ice -print | while read slice
do
- slicedir=`dirname "${slice}"`
+ slicedir=`dirname "${slice:6}"`
mkdir -p "ruby/${slicedir}"
- echo "Translating ${slice} into Ruby..."
- ${ICE_HOME}/bin/slice2rb -I ${ICE_HOME}/slice -I . --output-dir "ruby/${slicedir}" --checksum --plugin SliceVisitorPattern:create "${slice}"
+ echo "Translating ${slice:6} into Ruby..."
+ ${ICE_HOME}/bin/slice2rb -I ${ICE_HOME}/slice -I slice --output-dir "ruby/${slicedir}" --underscore --checksum --plugin SliceVisitorPattern:create "${slice}"
done
echo "Finished."
-----------------------------------------------------------------------
--
asterisk-scf/integration/slice.git
More information about the asterisk-scf-commits
mailing list