forked from libxmljs/libxmljs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- remove tools in favor of monkey patching js helper methods (simpler build) - makefile uses npm where appropriate
- Loading branch information
1 parent
33eca02
commit dce791e
Showing
15 changed files
with
69 additions
and
706 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,3 @@ | ||
src/*.o | ||
src/natives.h | ||
src/*.a | ||
src/*.node | ||
*.a | ||
*.node | ||
.scon* | ||
config.log | ||
src/*.os | ||
libxmljs | ||
tools/*.pyc | ||
benchmarks | ||
experiments | ||
notes | ||
TODO | ||
**/*.swp | ||
*.log | ||
**/*.swo | ||
.lock-wscript | ||
*.swp | ||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
SCONS=scons | ||
|
||
node: | ||
@$(SCONS) libxmljs.node | ||
target=./build/Release/libxmljs.node | ||
|
||
node-debug: | ||
@$(SCONS) libxmljs.node debug=1 | ||
all: $(target) | ||
|
||
build/: | ||
node-waf configure | ||
|
||
$(target): build/ src/*.cc src/*.h | ||
node-waf build | ||
|
||
clean: | ||
@$(SCONS) -c | ||
@$(SCONS) -c libxmljs.node | ||
rm -rf build | ||
|
||
test-verbose: | ||
node --expose_gc spec/tacular.js --verbose | ||
test: $(target) | ||
npm test | ||
|
||
test: | ||
node --expose_gc spec/tacular.js |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = require('./build/Release/libxmljs'); | ||
|
||
// attach javascipt helpers to bound classes | ||
require('./lib/xml_element'); | ||
require('./lib/xml_document'); | ||
require('./lib/xml_sax_parser'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
var libxml = require('../build/Release/libxmljs'); | ||
|
||
libxml.SaxCallbacks = function() { | ||
var callbackList = {}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.