276 Commits

Author SHA1 Message Date
utensil
dd15cff4e6 improve tests on ** for directory name 2014-04-20 15:13:31 +08:00
utensil
e5c26fdaa3 remove dependcy on minimatch 2014-04-20 10:40:27 +08:00
utensil
46231f432e fix order issue under node 0.8 2014-04-20 10:39:59 +08:00
utensil
e88a8969a2 implement globing and pass tests 2014-04-19 22:22:06 +08:00
utensil
98aad77ea4 add ** glob tests for common.expand() and fail it 2014-04-19 21:51:56 +08:00
utensil
668bd168c7 add test for common.expand() and pass it 2014-04-19 21:49:48 +08:00
utensil
a2549f8589 fix typo 2014-04-19 21:47:10 +08:00
utensil
c8d63ef675 add grep glob test, ** for dir name, fails it 2014-04-19 21:31:46 +08:00
utensil
356a9edb75 add grep glob test, * for file name, passes 2014-04-19 21:30:52 +08:00
Artur Adib
ab7bf59b4b Merge pull request #110 from panrafal/fix/which
which() should only find files, not directories
2014-03-07 16:08:29 -05:00
Rafal Lindemann
16c0c4dcdc which should only find files, not directories 2014-03-05 23:16:58 +01:00
Artur Adib
81340764da Merge pull request #105 from keskival/master
Added the New BSD license to the package.json.
2014-02-06 11:21:32 -05:00
Artur Adib
945d8cc74b Merge pull request #104 from jamon/master
Added win32 support to ln
2014-02-06 11:20:54 -05:00
Tero Keski-Valkama
4d0131cc67 Added the New BSD license to the package.json. 2014-02-06 11:38:35 +02:00
Jamon
edfc3acf04 Added win32 support to ln 2014-02-04 10:47:20 -06:00
Artur Adib
284fc1cc34 Merge pull request #89 from Schoonology/ln-abspath-fix
Fix ln using bad paths when given abspaths.
2013-10-11 11:40:02 -07: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
93987f6a4a Add a regression test for ln treating abspaths badly. 2013-10-11 11:33:49 -07:00
Artur Adib
b565b3a1f3 Merge pull request #88 from Schoonology/ln
Add ln support, including both -s and -f options.
2013-10-11 08:24:08 -07:00
Michael Schoonmaker
b715c2c240 Add ln support, including both -s and -f options. 2013-10-10 18:03:09 -07:00
Artur Adib
763e3593ef Merge pull request #87 from jamon/master
add support for symlinking (junctions) on win32
2013-10-03 08:56:56 -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
66e936155c 0.2.6 v0.2.6 2013-09-22 18:16:43 -04:00
Artur Adib
8c415ca04a makejs: dont die if target doesnt exist 2013-09-22 18:16:27 -04:00
Artur Adib
193968a978 remove old shims 2013-09-21 10:19:38 -04:00
Artur Adib
21f721cb45 more stringent jshint; catch leaks/undefs 2013-09-21 10:12:28 -04:00
Artur Adib
7314d1ac5b 0.2.5 v0.2.5 2013-09-11 18:50:52 -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
b932ad1f18 fix rm test 2013-09-11 14:08:02 -04:00
Artur Adib
aa72e0352b 0.2.4 v0.2.4 2013-09-11 13:59:09 -04:00
Artur Adib
9e38daa8e8 rm: don't fail to remove symlinks to dirs 2013-09-11 13:58:35 -04:00
Artur Adib
420c5c0ed3 0.2.3 v0.2.3 2013-09-09 12:55:43 -04:00
Artur Adib
31830d3c86 Merge pull request #80 from nilsbunger/master
Make shell.exec() treat process error return codes as shelljs errors
2013-09-09 09:54:46 -07: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
cf9d4e0799 0.2.2 v0.2.2 2013-09-02 14:14:51 -04:00
Artur Adib
337c47f57a Merge branch 'master' of github.com:arturadib/shelljs 2013-09-02 14:14:23 -04: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
Artur Adib
1dbba43650 0.2.1 2013-08-26 14:08:20 -04:00
Artur Adib
a81064c33f require Node >=0.8 2013-08-26 14:04:21 -04:00
Artur Adib
7c8611b820 Merge pull request #78 from andreweduffy/master
Addition of a toEnd() function modeled after the Unix >> pipe.
2013-08-26 11:03:04 -07:00
Andrew Duffy
c85078cd9a Merge branch 'master' of github.com:andreweduffy/shelljs 2013-08-25 19:40:34 -07:00
Andrew Duffy
bba987dd80 Fixed type of to() - > toEnd(). 2013-08-25 19:36:31 -07:00
Andrew Duffy
ff5212aa97 Updated test for toEnd() to be more comprehensive. 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
71b3c06cfc Updated test for toEnd() to be more comprehensive. 2013-08-25 19:27:58 -07:00
Andrew Duffy
0e8758923a Fixed README so that it's based off in-source documentation 2013-08-25 19:27:05 -07:00
Andrew Duffy
f5378cbc44 Renamed appendTo() to toEnd(). 2013-08-25 19:26:42 -07:00
Andrew Duffy
78e89faf28 Added appendTo() function to imitate '>>' redirect-and-append pipe. 2013-08-25 16:36:05 -07:00