123 Commits

Author SHA1 Message Date
Artur Adib
a81064c33f require Node >=0.8 2013-08-26 14:04:21 -04: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
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
Artur Adib
12f16ba409 cd works 2013-08-25 14:51:13 -04:00
Stephen Mathieson
023962cfff changes per @arturadib's code review 2013-06-12 11:23:56 -04:00
Stephen Mathieson
0ce07eee07 tempdir: use os.tmpDir when possible 2013-06-08 18:57:19 -04:00
Artur Adib
3b35d6ff12 Merge pull request #62 from stephenmathieson/extra-fs-calls
removing extra fs calls
2013-05-10 07:30:48 -07:00
Stephen Mathieson
e282205937 removing extra fs calls
nothing major, but i've removed a bunch of extra `fs.existsSync` and `fs.statSync` calls, which should speed things up a bit.  extra calls have been removed from:

- `cd`
- `ls`
- `cp`
- `rm`
- `mv`
2013-05-09 15:48:48 -04:00
waddlesplash
f0e1c1bedd Make buffersize 20MB. 2013-05-02 23:06:06 -03:00
Artur
55e1d662f7 Merge remote-tracking branch 'arturadib/master' 2013-04-21 17:01:41 -04:00
Artur
62da271665 find doesn't crash with broken symlinks 2013-04-21 17:01:02 -04:00
Artur Adib
3b57b24460 Merge pull request #56 from lge88/master
test('-L', badlink) should return true
2013-04-06 06:09:55 -07:00
Artur
f7d2e3c188 Merge remote-tracking branch 'iapain/exec-options-fix'
Conflicts:
	shell.js
2013-04-06 09:05:30 -04:00
Li Ge
38f1d6d9c4 If a symbolic link is broken, test('-L', badlink) should still return true.
While test('-L', 404) should return false.
2013-03-21 01:33:02 -07:00
Artur
ffb1e9acc5 fix JSHint problem 2013-03-20 10:52:04 -04:00
Artur
5f15f49515 old makerjs --> shelljs 2013-03-20 09:24:05 -04:00
Deepak Thukral
7b9ee5a41d Kept existing options and re-wrote the test case. 2013-03-11 13:10:05 +01:00
Deepak Thukral
a996918f84 Updated JSHint bin path and keeping it happy. 2013-03-11 12:40:01 +01:00
Deepak Thukral
a91aa8cc9a exec with callback failed with slient param was defined 2013-03-11 12:30:44 +01:00
Gopal V
42335307b9 use process.execPath 2013-02-13 12:27:04 -05:00
Artur
454dd29849 docs 2013-01-08 11:37:41 -05:00
Artur
98f3b0b2ef minor 2013-01-08 11:31:20 -05:00
Artur Adib
91cb4ebb66 Merge pull request #48 from brandonramirez/chmod
Implemented chmod command.  Github issue 35
2013-01-08 08:29:10 -08:00
Brandon Ramirez
79668501a5 Move bitmask constants into a PERMS namespace per code review feedback from @arturadib. 2013-01-04 21:01:50 -05:00
Artur Adib
91dd5bd61d docs fix 2013-01-01 15:26:53 -05:00
Artur Adib
b020cd4d7a clean up for PR #47 2012-12-31 13:47:33 -05:00
Artur Adib
a9a03b3f4e Merge pull request #47 from mstade/pushd-popd-dirs
Work in progress: pushd/popd/dirs
2012-12-31 10:40:06 -08:00
Brandon Ramirez
b0577ac4d5 Implemented chmod command along with documentation and unit tests. Github issue 35 2012-12-29 19:40:15 -05:00
Marcus Stade
2f142c1b3c Tests for dirs and popd options
Finished the dirs implementation to take `-N` and `+N` arguments, and
added more tests to cover all options. This should cover most bases.
2012-12-29 07:00:34 +01:00
Marcus Stade
158d563e4e Fixed JSHint errors. 2012-12-29 03:48:25 +01:00
Marcus Stade
829bdbc785 Improved tests and implementation.
Plenty of errors surfaced with better test coverage. Aside from fixing
the broken implementations, this also prompted me to fully implement
the dirs command.

Also changed the run-tests script to always set cwd to the test folder,
so that tests that change cwd don't affect others (ehum, that'd be
mine.)

More tests to follow.
2012-12-29 03:43:23 +01:00