Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gyp support for node 0.6.x #12

Merged
merged 2 commits into from May 22, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions binding.gyp
@@ -0,0 +1,10 @@
{
"targets": [
{
"target_name": "fs-ext",
"sources": [
"fs-ext.cc"
]
}
]
}
4 changes: 1 addition & 3 deletions tests/test-fs-flock.js
Expand Up @@ -20,8 +20,6 @@
// argument values, rather than calling the callback with the error?


// Make this new-built copy of fs-ext available for testing
require.paths.unshift(__dirname + '/..');
// console.log( require.resolve('../fs-ext'));

var assert = require('assert'),
Expand Down Expand Up @@ -154,7 +152,7 @@ if ( tests_run !== tests_ok ) {

// Test that constants are published - - - - - - - -

var fs_binding = require('../build/default/fs-ext');
var fs_binding = require('../build/Release/fs-ext');

var constant_names = [ 'LOCK_EX', 'LOCK_NB', 'LOCK_SH', 'LOCK_UN' ];

Expand Down
2 changes: 0 additions & 2 deletions tests/test-fs-flock_stress.js
Expand Up @@ -19,8 +19,6 @@
//TODO and Questions


// Make this new-built copy of fs-ext available for testing
require.paths.unshift(__dirname + '/..');
// console.log( require.resolve('../fs-ext'));

var assert = require('assert'),
Expand Down
4 changes: 1 addition & 3 deletions tests/test-fs-seek.js
Expand Up @@ -41,8 +41,6 @@
// constants from system library values.


// Make this new-built copy of fs-ext available for testing
require.paths.unshift(__dirname + '/..');
// console.log( require.resolve('../fs-ext'));

var assert = require('assert'),
Expand Down Expand Up @@ -248,7 +246,7 @@ if ( tests_run !== tests_ok ) {

// Test that constants are published - - - - - - - -

var fs_binding = require('../build/default/fs-ext');
var fs_binding = require('../build/Release/fs-ext');

var constant_names = [ 'SEEK_SET', 'SEEK_CUR', 'SEEK_END' ];

Expand Down
2 changes: 0 additions & 2 deletions tests/test-fs-seek_stress.js
Expand Up @@ -22,8 +22,6 @@
// Ideas for testing borrowed from bnoordhuis (Ben Noordhuis)


// Make this new-built copy of fs-ext available for testing
require.paths.unshift(__dirname + '/..');
// console.log( require.resolve('../fs-ext'));

var assert = require('assert'),
Expand Down
2 changes: 0 additions & 2 deletions tests/test-fs-utime.js
Expand Up @@ -19,8 +19,6 @@
// They do! Just not documented!


// Make this new-built copy of fs-ext available for testing
require.paths.unshift(__dirname + '/..');
// console.log( require.resolve('../fs-ext'));

var assert = require('assert'),
Expand Down
2 changes: 0 additions & 2 deletions tests/test-fs-utime_stress.js
Expand Up @@ -17,8 +17,6 @@
//TODO and Questions


// Make this new-built copy of fs-ext available for testing
require.paths.unshift(__dirname + '/..');
// console.log( require.resolve('../fs-ext'));

var assert = require('assert'),
Expand Down