[Pkg-javascript-commits] [node-expat] 40/371: rename expat.cc & target binary to node-expat

Jonas Smedegaard dr at jones.dk
Sun Feb 28 09:59:43 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository node-expat.

commit af7dcf4089f56c492af583e73410f51ecff20258
Author: Astro <astro at spaceboyz.net>
Date:   Thu Aug 5 13:29:52 2010 +0200

    rename expat.cc & target binary to node-expat
---
 bench.js                  | 2 +-
 expat.cc => node-expat.cc | 0
 package.json              | 2 +-
 test.js                   | 2 +-
 wscript                   | 4 ++--
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/bench.js b/bench.js
index 1d61c89..4db66f0 100644
--- a/bench.js
+++ b/bench.js
@@ -1,7 +1,7 @@
 var sys = require('sys');
 var node_xml = require("node-xml");
 var libxml = require("libxmljs");
-var expat = require('./build/default/expat');
+var expat = require('./build/default/node-expat');
 
 function NodeXmlParser() {
     var parser = new node_xml.SaxParser(function(cb) { });
diff --git a/expat.cc b/node-expat.cc
similarity index 100%
rename from expat.cc
rename to node-expat.cc
diff --git a/package.json b/package.json
index eb898fc..06a9e31 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 { "name": "node-expat"
 ,"version": "1.0.1"
-,"main": "./build/default/expat"
+,"main": "./build/default/node-expat"
 ,"description": "NodeJS binding for fast XML parsing."
 ,"scripts" : { "install" : "./install.sh" }
 ,"dependencies": []
diff --git a/test.js b/test.js
index ba104c4..24e2c6b 100644
--- a/test.js
+++ b/test.js
@@ -1,5 +1,5 @@
 var sys = require('sys');
-var expat = require('./build/default/expat');
+var expat = require('./build/default/node-expat');
 var Buffer = require('buffer').Buffer;
 
 function collapseTexts(evs) {
diff --git a/wscript b/wscript
index f84c148..add5592 100644
--- a/wscript
+++ b/wscript
@@ -11,6 +11,6 @@ def configure(conf):
 
 def build(bld):
   obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
-  obj.target = 'expat'
-  obj.source = 'expat.cc'
+  obj.target = 'node-expat'
+  obj.source = 'node-expat.cc'
   obj.lib = 'expat'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git



More information about the Pkg-javascript-commits mailing list