51 Commits

Author SHA1 Message Date
Charlie Rudolph
86e2d57cbc prevent internal error: write after end 2015-07-02 15:53:36 -07:00
Artur Adib
25f0cf0b24 Merge pull request #179 from andreialecu/fix-rmrfwin32
Fix issue #49: Retry rmdirSync on Windows for up to 1 second if files still exist.
2015-06-05 10:10:42 -04:00
Tristan Davies
4dca63ac33 100% more execSync, 99% less busywait 2015-02-25 09:28:06 -05:00
Andrei Alecu
7ddbba67c2 Changed error code to EAGAIN 2015-01-23 20:49:20 +02:00
Andrei Alecu
57a3725f43 Keep retrying if the directory still exists. 2015-01-15 12:22:01 +02:00
Andrei Alecu
e7b89d33e2 Styling fix. 2015-01-15 11:33:30 +02:00
Andrei Alecu
520f4952e0 Fix: Retry rmdirSync on Windows for up to 1 second if files still exist. Fixes issue #49 2015-01-11 13:44:57 +02:00
Artur Adib
20db182fcb Revert "Merge pull request #116 from idearat/master"
This reverts commit 65b658d1e47f380e4a50a859a871c8c48d1bd775, reversing
changes made to e88679a4a9146017cc9821efa4645acc7ef428c4.
2014-06-15 12:00:00 -04:00
Artur Adib
65b658d1e4 Merge pull request #116 from idearat/master
Add -l and -s support to grep.
2014-06-15 11:52:20 -04:00
abdul_martinez
dc5fb67544 Fix to set state.error before throw the exception 2014-04-25 10:39:38 +02:00
Artur Adib
8ba50dcf6b Merge pull request #119 from utensil/118-grep-glob
grep() support for globing, fixes #118
2014-04-21 14:05:30 -04:00
utensil
e5c26fdaa3 remove dependcy on minimatch 2014-04-20 10:40:27 +08:00
utensil
e88a8969a2 implement globing and pass tests 2014-04-19 22:22:06 +08:00
utensil
3968dc41e7 make sed() support replacement function, fixes #115 2014-04-19 21:05:47 +08:00
idearat
ac6994a740 Add -l and -s support to grep. 2014-04-18 15:58:15 -06:00
Rafal Lindemann
16c0c4dcdc which should only find files, not directories 2014-03-05 23:16:58 +01:00
Jamon
edfc3acf04 Added win32 support to ln 2014-02-04 10:47:20 -06:00
Michael Schoonmaker
36df0b7038 Fix ln using bad paths when given abspaths.
path.join will produce a bad path if given an abspath like `/home/foo`.
path.resolve is what we really want.
2013-10-11 11:33:49 -07:00
Michael Schoonmaker
b715c2c240 Add ln support, including both -s and -f options. 2013-10-10 18:03:09 -07:00
jamon
bb26fe2915 fixed not passing tests due to not requiring 'os' before use 2013-10-03 09:19:40 -05:00
jamon
74ed9ca300 add support for symlinking (junctions) on win32 2013-09-27 14:54:01 -05:00
Artur Adib
21f721cb45 more stringent jshint; catch leaks/undefs 2013-09-21 10:12:28 -04:00
Artur Adib
8df40dcf10 exec: don't output error msg when exit code > 0 2013-09-11 18:50:25 -04:00
Artur Adib
9e38daa8e8 rm: don't fail to remove symlinks to dirs 2013-09-11 13:58:35 -04:00
Nils Bunger
d97c34627c Make shell.exec() treat process error return codes as shelljs errors 2013-09-08 17:16:08 -07:00
Artur Adib
537ba1c3a7 cp preserves mode bits 2013-09-02 14:13:04 -04:00
Artur Adib
c2f3cb3384 minor docs change 2013-09-01 12:20:14 -04:00
Andrew Duffy
bba987dd80 Fixed type of to() - > toEnd(). 2013-08-25 19:36:31 -07:00
Andrew Duffy
91c82e0cc6 Fixed README so that it's based off in-source documentation
Renamed appendTo() to toEnd().
2013-08-25 19:36:16 -07:00
Andrew Duffy
78e89faf28 Added appendTo() function to imitate '>>' redirect-and-append pipe. 2013-08-25 16:36:05 -07:00
Artur Adib
561b1ea99c factoring docs, sed.js fix 2013-08-25 18:09:31 -04:00
Artur Adib
d3fcf012e4 fix prev commit, move wrap 2013-08-25 17:03:25 -04:00
Artur Adib
14c053abb0 chmod, clean-up 2013-08-25 17:02:37 -04:00
Artur Adib
36af72194e chmod, clean-up 2013-08-25 17:02:07 -04:00
Artur Adib
e0855c3cff exec,tempdir 2013-08-25 16:48:44 -04:00
Artur Adib
5f3da49248 dirs,pushd,popd 2013-08-25 16:34:24 -04:00
Artur Adib
93eb40d912 echo 2013-08-25 16:24:33 -04:00
Artur Adib
02df7985fd which 2013-08-25 16:23:31 -04:00
Artur Adib
715c79238e grep\ 2013-08-25 16:21:02 -04:00
Artur Adib
00c7b80cfb sed 2013-08-25 16:19:39 -04:00
Artur Adib
27978b8f9a to 2013-08-25 16:18:21 -04:00
Artur Adib
305dff0df2 cat 2013-08-25 16:16:11 -04:00
Artur Adib
a348cc1257 test 2013-08-25 16:14:56 -04:00
Artur Adib
d7b28a2a5a mkdir 2013-08-25 16:13:20 -04:00
Artur Adib
bf9ed2672e mv 2013-08-25 16:09:52 -04:00
Artur Adib
74f5492184 rm 2013-08-25 16:04:46 -04:00
Artur Adib
592dd8ddd0 cp 2013-08-25 15:52:05 -04:00
Artur Adib
dcac00ade5 find 2013-08-25 15:42:44 -04:00
Artur Adib
6523f6afa5 ls 2013-08-25 15:35:43 -04:00
Artur Adib
f6d7801124 pwd 2013-08-25 15:08:08 -04:00