[asterisk-scf-commits] asterisk-scf/release/slice.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Sat Feb 5 03:55:25 CST 2011


branch "master" has been updated
       via  20ba5407e321c043fda6618ad6facef8758be471 (commit)
      from  de60753b83864661cd9eeeef50fbcf094b1fea8f (commit)

Summary of changes:
 make-python-api.sh |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100755 make-python-api.sh


- Log -----------------------------------------------------------------
commit 20ba5407e321c043fda6618ad6facef8758be471
Author: Kevin P. Fleming <kpfleming at digium.com>
Date:   Sat Feb 5 10:54:18 2011 +0100

    Add a basic script to build the API in Python form.

diff --git a/make-python-api.sh b/make-python-api.sh
new file mode 100755
index 0000000..cbe9c1a
--- /dev/null
+++ b/make-python-api.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+rm -rf python
+
+mkdir python
+
+find AsteriskSCF -name \*.ice -print | while read slice
+do
+    slicedir=`dirname "${slice}"`
+    prefix="${slicedir//\//_}_"
+    ${ICE_HOME}/bin/slice2py -I ${ICE_HOME}/slice -I . --output-dir python --prefix "${prefix}" "${slice}"
+done

-----------------------------------------------------------------------


-- 
asterisk-scf/release/slice.git



More information about the asterisk-scf-commits mailing list