Commit graph

135 commits

Author SHA1 Message Date
TehShrike
db84ed7dc1 Switching to path.join instead of concatenation
Made path parsing friendlier across platforms
2012-11-30 00:37:26 +00:00
TehShrike
81ef6ee7df Changing path.existsSync to fs.existsSync 2012-11-17 03:14:11 +00:00
Ryan McGrath
75af1f122b Version bump 2012-11-16 04:43:20 -05:00
Ryan McGrath
080761cb80 Merge pull request #42 from smucode/master
Null check in copyDirSyncRecursive
2012-11-16 01:35:19 -08:00
Stig Murberg
5e80ff972c added null check so copyDirSyncRecursive will work without passing opts 2012-11-15 12:25:11 +01:00
Ryan McGrath
32c2af7f44 Version bump 2012-11-10 20:38:48 -05:00
Ryan McGrath
c382a83171 Merge pull request #38 from refaelos/master
new options: 'preserveFiles' and 'inflateSymlinks'
2012-11-10 17:32:55 -08:00
Ryan McGrath
6972758cba Bump version 2012-11-09 10:10:51 -05:00
Ryan McGrath
2628e88075 Fixes #39 2012-11-09 10:10:15 -05:00
refaelos
fcc6760b11 merged with master repo 2012-11-09 14:18:33 +02:00
refaelos
0b54b60a53 added preserveFiles and inflateSymlinks options and tests 2012-11-09 14:06:54 +02:00
Ryan McGrath
a4ea1864ef Version bump for dat NPM 2012-11-09 05:22:00 -05:00
Ryan McGrath
676e210fc4 Fixes issue #32 2012-11-09 05:20:15 -05:00
Ryan McGrath
04d6db164e Fix for issue #35 2012-11-09 05:14:22 -05:00
Ryan McGrath
6c90fc6e67 Merge in @refaelos excludeHidden && excludeHiddenUnix patch 2012-11-09 05:12:39 -05:00
Ryan McGrath
5119852f6c Merge pull request #33 from node-migrator-bot/clean
migrationBot is a stud
2012-11-09 02:06:54 -08:00
Ryan McGrath
44b84fdbaf Merge pull request #31 from donaldpipowitch/master
Filter options for copyDirSyncRecursive
2012-11-09 02:05:35 -08:00
refaelos
658589c35e changed excludeHidden to excludeHiddenUnix b/c the testing for hidden file is only applicable for unix 2012-10-15 15:35:43 +02:00
refaelos
8097eb52bd added tests 2012-10-15 15:33:36 +02:00
refaelos
c2674863e9 added excludeHidden flag 2012-10-15 14:59:06 +02:00
refaelos
a2cac1647d not copying hidden files/folders 2012-10-15 14:53:42 +02:00
Farrin Reid
a0749b36ac [fix] path.existsSync was moved to fs.existsSync 2012-07-07 05:34:05 -08:00
donaldpipowitch
eb1bf2399b - added to new properties to opts param in copyDirSyncRecursive:
-- opts.filter (RegExp): a RegExp which could look like this: /^CVS$|.idea$|.DS_Store$/. If added, every file or directory which matches the RegExp will be ignored. In this example every "CVS" directory and all ".idea" and ".DS_Stores" files would be ignored.
-- opts.filter (Boolean): If set tu true, the RegExp in opts.filter will be used as a whitelist. Every file or directory which DOESN'T match opts.filter will be ignored.
2012-07-05 10:08:28 +03:00
Ryan McGrath
d1ffccba60 Merge branch 'master' of github.com:ryanmcgrath/wrench-js 2012-05-17 00:38:35 +09:00
Ryan McGrath
5adf506f2f Version bump 2012-05-17 00:38:12 +09:00
Ryan McGrath
b035bdc01c Merge pull request #27 from domenic/dev-niceties
Dev niceties
2012-05-16 08:33:13 -07:00
Ryan McGrath
00328631b0 Merge pull request #28 from domenic/windows-paths
Windows paths
2012-05-16 08:32:47 -07:00
domenic
5d1d96379b Fixing tests to use path.join for Windows compat.
Now they pass on Windows.
2012-05-14 19:31:00 -04:00
domenic
01190602da Use path.relative instead of manual string replacement.
Fixes Windows inconsistency (#26).
2012-05-14 19:30:53 -04:00
domenic
828798c43c Using nodeunit's deepEqual instead of manually looping.
This makes for more readable assertion messages (so you can actually see the difference in the lists), and removes the underscore dependency.
2012-05-14 19:21:37 -04:00
domenic
99342e073f Updating test script to work on Windows.
npm had a bug a while ago where you needed to specify the full path for scripts. This is no longer the case. Using the command name instead of the full path allows `npm test` to work on Windows.
2012-05-14 19:15:28 -04:00
domenic
2abdfaf40c Add npm-debug.log to .gitignore. 2012-05-14 19:14:16 -04:00
Ryan McGrath
a4e5005030 Fixes #24, removes 'os', update version number 2012-03-31 00:17:46 +02:00
Ryan McGrath
c1ff60f268 Merge branch 'master' of github.com:ryanmcgrath/wrench-js 2012-02-23 05:28:21 -05:00
Ryan McGrath
f079b390b6 Version bump, README discrepancy fix, point release 2012-02-23 05:28:10 -05:00
Ryan McGrath
e0e9f52313 Merge pull request #20 from perfectworks/master
LineReader.hasNextLine will go to an endless loop
2012-02-22 01:48:11 -08:00
perfectworks
48aa600052 FIX: LineReader.hasNextLine go to an endless loop
LineReader.hasNextLine will go to an endless loop when buffer is empty
or file not end with \n
2012-02-22 17:43:31 +08:00
Ryan McGrath
6caa8c9aba Merge pull request #19 from perfectworks/master
LineReader.hasNextLine go to a endless loop when LineReader.buffer is empty
2012-02-20 17:05:17 -08:00
perfectworks
92a4dffb11 FIX: LineReader.hasNextLine go to a endless loop when LineReader.buffer is empty 2012-02-20 22:15:22 +08:00
Ryan McGrath
caaee2ceec Version bump, 1.3.5 => 1.4.6, NPM push 2012-02-18 04:59:19 -05:00
Ryan McGrath
6110588411 Merge pull request #18 from vgrichina/master
Implemented asynchronous recursive readdir
2012-02-18 01:52:26 -08:00
Ryan McGrath
ee67ebfc77 Merge pull request #17 from jannon/master
Making copy a little friendlier (allowing existing directories)
2012-02-18 01:51:43 -08:00
Ryan McGrath
1b0bc91152 Merge pull request #16 from rwmtse/patch-1
Make sure fix for issue #7 works in Windows too (check for backslash in ...
2012-02-18 01:49:16 -08:00
Vladimir Grichina
941a19a286 Adjusted README formatting 2012-02-18 00:40:14 +02:00
Vladimir Grichina
b8ae7be2f7 Added async readdir 2012-02-18 00:35:25 +02:00
Vladimir Grichina
b91834d796 Renamed tests 2012-02-17 22:58:46 +02:00
Jannon
83b721a579 Make copy friendlier with option not to blow away existing dirs
Let's play nice.  Now when using copyDirSyncRecursive, you can pass an optional opts object.  If this object contains a preserve member, then the function will preserve exisiting directories and only overwrite existing files within the directories.  Without passing the option it behaves the same as always
2012-02-10 16:16:08 -08:00
Rosa Tse
e5a368d67a Make sure fix for issue #7 works in Windows too (check for backslash in path) 2012-02-06 14:58:46 -05:00
Ryan McGrath
a31e8029cd Merge pull request #14 from cbou/master
- Package.json now contains depedencies.
- Tests do not use test.deepEqual() anymore because with this method, the order has to be the same, which is not always the case.
2012-02-03 16:24:14 -08:00
Charles Bourasseau
358d77c250 add test script to package.json 2012-01-31 18:49:22 +01:00