371 Commits

Author SHA1 Message Date
Nate Fischer
b3f266469b feat: add tilde expansion to expand()
This adds tilde expansion to the expand() function. Arguments starting with '~/'
will have the tilde expanded to the user's home directory, as with Bash.
2016-01-23 21:52:20 -08:00
Nate Fischer
15261f846c Merge pull request #292 from nfischer/fix-readme-style
style: make docs more consistent
2016-01-15 19:50:01 -08:00
Nate Fischer
efc0bbb4ec style: make docs more consistent
I also fixed a URL in the top section of the README.
2016-01-15 19:37:59 -08:00
Ari Porad
2c63ecf461 Merge pull request #271 from freitagbr/fix-cp-behavior
Fix cp to match unix behavior
2016-01-15 16:26:31 -08:00
Ari Porad
b8f110dd03 Merge pull request #283 from nfischer/osx-ci
chore(travis): add OS X to Travis CI
2016-01-15 16:25:47 -08:00
Nate Fischer
8be842677d chore(travis): modify travis.yml to support OS X
Change language to c++ to delay nvm commands until after nvm is installed.
Install steps are explicit to make sure that Travis CI will always have the nvm
package, even on OS X. Changing to Node v4.x.x
2016-01-15 11:37:37 -08:00
Nate Fischer
309784a4ce Merge pull request #274 from ariporad/fix/255
Don't do `console.log.apply(this, ...)`.
2016-01-14 21:04:31 -08:00
Ari Porad
9e9b500106 Don't do console.log.apply(this, ...).
Fixes #255
2016-01-14 20:59:40 -08:00
Nate Fischer
439a0b0aaa Merge pull request #289 from vise890/master
update `exec` docs to match implemented behaviour
2016-01-14 10:14:33 -08:00
Ari Porad
fd278ea6b2 Merge pull request #288 from nfischer/update-package-json
chore: update github URL in package.json
2016-01-14 06:34:23 -08:00
Martino Visintin
d520a340e8 update exec docs to match implemented behaviour 2016-01-14 12:44:05 +01:00
Brandon Freitag
5b7bbe8d8b Update broken tests with new cp behavior 2016-01-14 02:36:53 -08:00
Nate Fischer
dcdf55b0c9 chore: update github URL in package.json 2016-01-14 00:25:59 -08:00
Ari Porad
99f71be89d Merge pull request #268 from nfischer/MultipleErrorMessages
Commands that have multiple errors now produce cleaner log output
2016-01-13 16:10:03 -08:00
Ari Porad
e616aa67e7 Merge pull request #239 from Microsoft/users/tihuang/fixwhich
Make sure Which() on Windows platform always return the command with …
2016-01-13 15:49:34 -08:00
Tingluo Huang
9ca9b6144a Make sure Which() on Windows platform always return the command with extension. 2016-01-13 15:03:17 -05:00
Nate Fischer
8a7f7ceec4 add exec.stdout
Change `exec.output` to `exec.stdout` and deprecate `output`.
2016-01-12 17:14:13 -08:00
Nate Fischer
74f1ff8748 Commands that have multiple errors now produce cleaner log output. Errors are
echoed to stderr. exec() supports a new stderr field.
2016-01-12 17:02:19 -08:00
Artur Adib
ace162ae84 better gitter badge 2016-01-11 21:52:45 -05:00
Artur Adib
7c0649df74 gitter badge 2016-01-11 21:39:16 -05:00
Nate Fischer
5d1ccec687 Merge pull request #240 from BYK/patch-1
Fix `os.tmpdir` bug
2016-01-11 17:57:05 -08:00
Nate Fischer
161a3cb776 Merge pull request #249 from blockloop/master
add touch(1)
2016-01-11 17:52:35 -08:00
Brett Jones
08b4212b15 add touch(1) 2016-01-11 19:47:09 -06:00
Nate Fischer
66e01af3a9 Merge pull request #285 from nfischer/fix-docs-typo
docs(spelling): fix typo in source comment
2016-01-11 13:33:38 -08:00
Nate Fischer
dbe3395ea9 docs(spelling): fix typo in source comment 2016-01-11 13:29:44 -08:00
Brandon Freitag
9c8db201ca Add test for added cp behavior 2016-01-11 01:32:55 -08:00
Brandon Freitag
9ce87da61b Fix cp to match unix behavior
In unix, if src is a directory and dest doesn't exist, 'cp -r src dest' will copy src/* into dest. Fix cp('-r', 'src', 'dest') to behave the same way.
2016-01-11 01:32:54 -08:00
Ari Porad
dc5c59be36 Merge pull request #252 from bryce-gibson/shjs-exit-code
Support exit code in shjs.
2016-01-09 17:49:58 -08:00
Artur Adib
6acfbe858f travis uses latest LTS 2016-01-08 14:52:08 -05:00
Artur Adib
e3f3ab87cd readme update 2016-01-08 14:37:17 -05:00
Artur Adib
573bada4c7 travis bump 2016-01-08 14:35:11 -05:00
Artur Adib
708be98aa7 dummy commit to trigger CI 2016-01-08 14:33:37 -05:00
Bryce Gibson
6cf02aa27e Support exit code in shjs. 2015-11-10 08:53:16 +11:00
Burak Yiğit Kaya
06f35f8a76 Fix os.tmpdir bug
The checked method on `os` module was `tempDir` which was not existing on any version of Node (should have been `tmpDir`). With Node 0.10, the name became `tmpdir`.
2015-10-06 16:49:09 +03:00
Artur Adib
a38ef4557e Merge pull request #228 from rezonant/feat-capitalX
feat-multisymbolic + Support for directory entry (capital X in chmod terms)
2015-08-29 16:07:33 -04:00
Artur Adib
e05ca3f8c4 Merge pull request #227 from rezonant/feat-multisymbolic
Fixes an issue with multi-symbolic mode specification (ie a-rwx,u+rw)
2015-08-29 16:03:44 -04:00
Artur Adib
09363768df Merge pull request #166 from ratbeard/master
remove empty for loop and leaked i var
2015-08-29 15:56:25 -04:00
Artur Adib
9e18fc75a9 Merge pull request #135 from ndelitski/wrapScriptInDblQuotes
Wrap script name in double quotes
2015-08-29 15:52:34 -04:00
Artur Adib
3fef9673c1 Merge pull request #99 from maxnordlund/patch-1
Fixed coffeescript syntax in top example
2015-08-29 15:48:43 -04:00
Artur Adib
720d2d1fcf Merge pull request #230 from sanemat/chore/add-travis-target
Add target node.js (iojs v1, v2, v3)
2015-08-29 15:43:55 -04:00
Artur Adib
7a40ea8ffa Update package.json 2015-08-29 15:37:20 -04:00
Artur Adib
d85ed9a827 Update LICENSE 2015-08-29 15:36:08 -04:00
sanemat
d0f3dfa9dc Add target node.js (iojs v1, v2, v3) 2015-08-30 00:13:06 +09:00
Liam (GH:rezonant)
766c2ddb59 Implements capital X (entry on directories) 2015-08-26 16:00:06 -04:00
Liam (GH:rezonant)
865a8d7c80 Oops, was commented out for verification 2015-08-26 15:08:20 -04:00
Liam (GH:rezonant)
670420c90e Fixes said broken test 2015-08-26 15:01:04 -04:00
Liam (GH:rezonant)
55225d9a0d A broken test 2015-08-26 15:00:33 -04:00
Liam (GH:rezonant)
e4e026dac4 Fixes incorrect mask 2015-08-26 14:20:07 -04:00
Liam (GH:rezonant)
9aba4d4ab2 Adds more tests 2015-08-26 14:17:57 -04:00
Artur Adib
409784b92e Merge pull request #216 from rizowski/returnResult
Memoized the result of target invocation
2015-08-15 10:43:22 -04:00