Ari Porad
49b60cd59e
Merge pull request #276 from TimothyGu/to
...
feat(end/round): make to and toEnd chainable
2016-01-24 17:29:11 -08:00
Timothy Gu
18df9540ab
Make to and toEnd chainable
2016-01-24 15:03:20 -08:00
Ari Porad
154d6a626a
Merge pull request #303 from nfischer/more-regex-tests
...
fix: regexes are more consistent with sed and grep
2016-01-24 14:16:17 -08:00
Ari Porad
361eb93430
Merge pull request #306 from nfischer/cd-no-args
...
feat(cd): cd() (no args) changes to home directory
2016-01-24 14:11:13 -08:00
Nate Fischer
dfaa78abef
feat(cd): cd() (no args) changes to home directory
2016-01-24 13:19:57 -08:00
Ari Porad
c4220691b7
Merge pull request #293 from nfischer/feat-home-directory-tilde
...
feat: add tilde expansion to expand()
2016-01-24 11:50:40 -08:00
Ari Porad
12c47e3164
Merge pull request #273 from nfischer/PreviousDirectory
...
chore(cd): impliment cd -
2016-01-24 07:48:43 -08:00
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
1979d07776
Adding previousDir field to common.state to allow cd('-') to work like Bash
2016-01-23 21:24:13 -08:00
Nate Fischer
1ee696d824
fix: regexes are more consistent with sed and grep
...
sed will now convert search strings to regex form, so `'a*'` will now work like
`/a*/`. Also, new tests for grep and sed ensure that '*' is not expanded for
filename globbing.
2016-01-23 21:16:43 -08:00
Nate Fischer
5ea67cf06d
Fix ls docs
2016-01-23 17:32:26 -08:00
Ari Porad
015d34f78a
Merge pull request #295 from nfischer/fix-run-tests
...
fix: jshint works on Windows
2016-01-21 14:01:31 -07:00
Nate Fischer
07236a6463
fix inconsistencies in docs
2016-01-20 19:42:35 -08:00
Nate Fischer
9ff07b3ca7
Style updates in docs
2016-01-20 03:11:56 -08:00
Nate Fischer
267799ae96
Docs updates
2016-01-19 16:45:35 -08:00
Nate Fischer
900384bda8
Now runs jshint on the src/ folder. This fixes the pre-existing lint issues
2016-01-19 00:25:21 -08:00
Nate Fischer
be6b06bb8a
Make shjs executable
2016-01-19 00:06:22 -08:00
Nate Fischer
03c30c6a1f
fix: jshint works on Windows
...
run-tests.js previously relied on shell wildcard expansion, and did not specify
full paths. This uses common.expand to handle globbing internally, and specifies
the full path, so jshint can find all the files.
2016-01-18 21:36:41 -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