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
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
Charles Bourasseau
7acfd0141c
some small improvements
2012-01-31 11:35:58 +01:00
Ryan McGrath
60f6f15734
Version bump for NPM
2012-01-17 10:21:14 +01:00
Ryan McGrath
d001f2fb72
Merge pull request #13 from fishmongr/patch-2
...
Replaced a few more statSync references with lstatSync to ensure symboli...
2012-01-16 22:52:25 -08:00
Mark Ledford
29773a3363
Replaced a few more statSync references with lstatSync to ensure symbolic links to directories aren't detected as directories which causes errors. Also in copyDirSyncRecursive removed an explict call to mkDirSync before recusively calling to copy the sub directory as the recursive method is already creating that directory. The explicit call to create the sub directory beforehand is causing the directory to be created twice causing an error.
2012-01-16 19:34:42 -05:00
Ryan McGrath
b6b7a2fba8
Version bump => 1.3.4
2012-01-16 22:50:33 +01:00
Ryan McGrath
667b646901
Merge pull request #12 from fishmongr/patch-1
...
Update lib/wrench.js
2012-01-16 13:46:34 -08:00
Mark Ledford
7edb49884d
Update lib/wrench.js
2012-01-16 16:37:27 -05:00
Ryan McGrath
cdae758b57
Merge pull request #11 from millermedeiros/master
...
add readdirSyncRecursive, normalize tabs, add tests/runner
2012-01-14 12:13:08 -08:00
millermedeiros
139ed486f1
add readdirSyncRecursive and the test runner file.
2012-01-14 14:10:47 -02:00
millermedeiros
29cb04590b
normalize tabs
2012-01-14 13:05:01 -02:00
Ryan McGrath
5a6372fe46
Updated readme, version, code style
2012-01-13 09:55:49 -05:00
Ryan McGrath
43ffe0e979
Merge pull request #10 from geddesign/master
...
added failSilent option to rmdirSyncRecursive
2012-01-10 16:44:22 -08:00
Dave Geddes
9bda890fe0
removed redundant variable
2012-01-10 12:41:04 -07:00
Dave Geddes
7157760c12
added failSilent option to wrench.rmdirSyncRecursive
...
for cases where you want to delete a directory that may or may not
exist:
wrench.rmdirSyncRecursive('dir', true);
2012-01-10 12:38:39 -07:00
Ryan McGrath
45d751eeda
Version bump for npm
2011-11-04 11:47:25 +09:00
Ryan McGrath
e54c47b7ea
Fixes NPM warning, closes #8
2011-11-04 11:45:56 +09:00
Ryan McGrath
0194630a84
Updated readme examples with new mkdirSyncRecursive() stuff, version bump/publish
2011-10-23 16:56:28 +09:00
David Schoen
3d70d7cecf
fixing formatting for mkdirSyncRecursive
2011-10-23 15:48:50 +08:00
David Schoen
a3a546914d
adding nodeunit test for issue #7
2011-10-23 15:48:43 +08:00
David Schoen
34de06b73d
importing nherment's patch for issue #7
2011-10-23 15:48:43 +08:00
Ryan McGrath
403deea04c
Version bump, docs updated with example of chownSyncRecursive
2011-10-11 02:00:04 +09:00