You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pm...@apache.org on 2012/02/17 17:46:29 UTC

weinre commit: fix https://issues.apache.org/jira/browse/CB-259

Updated Branches:
  refs/heads/master 5b95d39c9 -> 4eae8a173


fix https://issues.apache.org/jira/browse/CB-259

create a weinre tarball as a build archive that is npm install-able

Add a tar invocation to the build script.

Also fixed the package.json.template to point to the right location
for the weinre script.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/commit/4eae8a17
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/tree/4eae8a17
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/diff/4eae8a17

Branch: refs/heads/master
Commit: 4eae8a17333134fed611fe14ccc40854277f5c9b
Parents: 5b95d39
Author: Patrick Mueller <pm...@apache.org>
Authored: Fri Feb 17 11:44:36 2012 -0500
Committer: Patrick Mueller <pm...@apache.org>
Committed: Fri Feb 17 11:44:36 2012 -0500

----------------------------------------------------------------------
 weinre.build/build.xml             |    6 ++++++
 weinre.build/package.json.template |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/4eae8a17/weinre.build/build.xml
----------------------------------------------------------------------
diff --git a/weinre.build/build.xml b/weinre.build/build.xml
index f4ccae9..ce07ac3 100644
--- a/weinre.build/build.xml
+++ b/weinre.build/build.xml
@@ -386,6 +386,12 @@
             <arg value="weinre-node"/>
         </exec>
 
+        <exec executable="tar" dir="${OUT}/files">
+            <arg value="-czf"/>
+            <arg value="../archives/weinre-node-${BUILD_VERSION}.tar.gz"/>
+            <arg value="weinre-node"/>
+        </exec>
+
         <!-- =================================== -->
         <delete dir="${OUT}/files/weinre-doc"/>
         <mkdir  dir="${OUT}/files/weinre-doc"/>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/4eae8a17/weinre.build/package.json.template
----------------------------------------------------------------------
diff --git a/weinre.build/package.json.template b/weinre.build/package.json.template
index e5d1406..6f18a35 100644
--- a/weinre.build/package.json.template
+++ b/weinre.build/package.json.template
@@ -29,7 +29,7 @@
   "main" :             "./lib/weinre",
   "bin":
     {
-      "weinre":        "./bin/weinre"
+      "weinre":        "./weinre"
     },
   "homepage":          "http://incubator.apache.org/callback/",
   "bugs":              "https://issues.apache.org/jira/browse/CB",