84 Commits

Author SHA1 Message Date
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
Artur Adib
ef795af7e4 adding jshint to tests; all tests pass 2012-12-27 16:32:31 -05:00
Marcus Stade
02efac873c Use internal functions rather than exports. 2012-12-27 17:56:24 +01:00
Marcus Stade
19d3d91bb6 Make _dirs() return an array instead of a string 2012-12-27 17:52:11 +01:00
Marcus Stade
18a10bb3d9 Added semicolons and removed dirs from exports 2012-12-27 17:46:37 +01:00
Marcus Stade
3e29c02734 Initial work 2012-12-25 20:57:38 +01:00
Artur Adib
cba4f22a64 simplify fix for issue #44 2012-12-24 10:54:03 -05:00
Marcus Stade
37c00b1d65 Changed the way the destination dir is created 2012-12-24 13:16:03 +01:00
Marcus Stade
5c8040b3fd Fixes arturadib/shelljs#44 2012-12-24 02:46:28 +01:00
Artur Adib
35211d0783 Merge pull request #42 from danielepolencic/master
Fix single/double quotes in exec
2012-12-01 11:09:17 -08:00
Artur Adib
e4d9dabe52 introducing config.silent, config.fatal
deprecates silent()
2012-12-01 09:48:23 -05:00
Daniele Polencic
e74c23b4ef fixed bug #11 2012-11-12 16:29:00 +00:00
Artur Adib
5988408087 docs, minor 2012-09-28 16:56:34 -04:00
Artur Adib
99b9b759fa closes #31 2012-09-28 15:45:34 -04:00
Takahiro ANDO
e0a74bc8da fix: global leak 'stats' 2012-09-24 18:45:54 +09:00
Artur Adib
09d6e09d87 docs update, ls -a deprecated 2012-09-23 20:09:19 -04:00
Artur Adib
eb8ab8a02c Merge pull request #28 from aeosynth/lsa
-a includes . and ..; -A does not
2012-09-23 17:01:47 -07:00
Artur Adib
6c82f6dc0b Merge branch 'master' of github.com:arturadib/shelljs 2012-09-23 15:42:58 -04:00
Artur Adib
40c98d3b1f fixes #15; "cp -R src/ dest" bug 2012-09-23 15:38:44 -04:00
James Campos
e17ec6be1d -a includes . and ..; -A does not 2012-09-18 18:02:40 -07:00
James Campos
57bdc55f01 only lstat on -L 2012-09-12 10:08:42 -07:00
James Campos
fe1ff2ea53 add comment docs 2012-09-08 18:51:48 -07:00
James Campos
acdd759775 add -e 2012-09-08 04:23:19 -07:00
James Campos
faaffca2a7 add primaries to _test 2012-09-07 23:54:22 -07:00
James Campos
922f1d7639 refactor _test 2012-09-07 23:07:01 -07:00
Artur Adib
11f340cd0c update README 2012-09-06 08:18:52 -04:00
Artur Adib
4f710c6b55 fixed echo() dash bug 2012-08-25 15:00:18 -04:00
DallonF
9253e4d279 Fixed global variable leak 2012-06-04 10:24:31 -07:00
Artur Adib
38a0bde0a9 exec async now returns child proc obj 2012-05-24 22:10:21 -04:00
Artur Adib
24df2c1a32 Merge branch 'master' of github.com:arturadib/shelljs 2012-05-22 15:56:04 -04:00
Artur Adib
e539ce8953 Leak fix. Closes #12 2012-05-22 15:55:50 -04:00
Kalervo Kujala
a40d384a92 Add support for grep option -v. 2012-05-18 01:26:22 +03:00
Artur Adib
d61a50b8a8 catching _unlinkSync exceptions 2012-04-16 10:51:37 -04:00
Artur Adib
4ea2c5b8dd minor comment 2012-04-09 08:42:57 -07:00
Artur Adib
6d1a5b41d2 README: exec() note 2012-03-28 16:10:45 -04:00
Artur Adib
2f3bce71d1 echo() overrides silent() 2012-03-27 18:51:02 -04:00
Artur Adib
687e19044c fix: exec()'s {silent} overrides global silent() 2012-03-27 18:16:15 -04:00
Artur Adib
09c2780b8b "maker.js" --> "shell.js" 2012-03-27 17:46:11 -04:00
Artur Adib
258be17d01 rmdirSyncRecursive: throw all if can't remove dir 2012-03-27 16:11:56 -04:00
Artur Adib
03e6365ae3 ls()/find(): use Unix slashes even on Windows 2012-03-26 11:50:48 -04:00