-
Notifications
You must be signed in to change notification settings - Fork 45
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
Fixes for Windows #70
Merged
Merged
Changes from 10 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
62d5986
Fix flock on Windows
davedoesdev f8ad1d4
More Windows fixes and get tests running
davedoesdev b6343ae
Fix lint
davedoesdev c252e9a
Go back to old eslint (works on 0.12)
davedoesdev d721ec0
Need Node 8 on Windows
davedoesdev f250d25
Try some random stuff that other people do for appveyor
davedoesdev 84c7631
Don't use shell script for run_tests, so it can run on Windows
davedoesdev 027f238
Fix lint on run_tests.js
davedoesdev 0442920
Fix lint again!
davedoesdev 8fd73e5
Use os.tmpdir() in tests
davedoesdev f2b5e9f
Remove support for Node < 6
davedoesdev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
|
@@ -2,7 +2,12 @@ | |
"author": "Matt Sergeant <helpme@gmail.com> (http://baudehlo.wordpress.com/)", | ||
"name": "fs-ext", | ||
"description": "Extensions to core 'fs' module.", | ||
"keywords": ["fs", "filesystem", "flock", "seek"], | ||
"keywords": [ | ||
"fs", | ||
"filesystem", | ||
"flock", | ||
"seek" | ||
], | ||
"version": "0.6.0", | ||
"homepage": "https://github.com/baudehlo/node-fs-ext/", | ||
"repository": { | ||
|
@@ -13,21 +18,25 @@ | |
"engines": { | ||
"node": ">= v0.8.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you please bump this to >= v6. It's a shame we can't do platform specific versions given Windows now requires v8. I searched and the only solution is a failing install script. |
||
}, | ||
"dependencies": { "nan": "^2.0" }, | ||
"licenses": [ { | ||
"type": "MIT" | ||
} ], | ||
"dependencies": { | ||
"nan": "^2.0" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT" | ||
} | ||
], | ||
"bugs": { | ||
"mail" : "helpme@gmail.com", | ||
"web" : "https://github.com/baudehlo/node-fs-ext/issues" | ||
"mail": "helpme@gmail.com", | ||
"web": "https://github.com/baudehlo/node-fs-ext/issues" | ||
}, | ||
"scripts": { | ||
"scripts": { | ||
"install": "node-gyp configure build", | ||
"test": "./run_tests", | ||
"test": "node ./run_tests", | ||
"lint": "node ./node_modules/eslint/bin/eslint \"*.js\" \"tests/**/*.js\"", | ||
"cover": "NODE_ENV=cov ./node_modules/.bin/istanbul cover ./run_tests" | ||
"cover": "NODE_ENV=cov ./node_modules/.bin/istanbul cover node ./run_tests" | ||
}, | ||
"devDependencies": { | ||
"eslint" : "^2.13.0" | ||
"eslint": "^2.13.0" | ||
} | ||
} |
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,17 @@ | ||
"use strict"; | ||
|
||
if (process.platform !== 'win32') { | ||
require('./tests/test-fs-fcntl'); | ||
} | ||
|
||
require('./tests/test-fs-seek'); | ||
|
||
require('./tests/test-fs-flock'); | ||
|
||
require('./tests/test-fs-utime'); | ||
|
||
// for stress testing only | ||
if (process.argv[2] == '--stress') { | ||
require('./tests/test-fs-seek_stress'); | ||
require('./tests/test-fs-flock_stress'); | ||
} |
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's high time we removed support for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And by "this" I mean anything less than node v6 on travis.