406 Commits

Author SHA1 Message Date
Nate Fischer
985ac20cd6 fix(windows): fix shjs tests for windows 2016-01-27 15:24:08 -08:00
Nate Fischer
7d6249a64d Merge pull request #299 from nfischer/appveyor-support
Add appveyor.yml config file
2016-01-27 12:31:28 -08:00
Ari Porad
90a98a51e8 Merge pull request #311 from nfischer/ls-d-option
feat(ls): add -d flag to ls()
2016-01-26 18:51:12 -08:00
Nate Fischer
2f9f3a3390 Add appveyor.yml config file 2016-01-26 14:55:06 -08:00
Nate Fischer
c6da9e76fd feat(ls): add -d flag to ls() 2016-01-25 23:44:20 -08:00
Nate Fischer
c1813c22af Merge pull request #312 from ariporad/LGTM
chore(LGTM): add LGTM config files
2016-01-25 18:45:51 -08:00
Ari Porad
f224776ff7 Merge pull request #310 from nfischer/fix-gen-docs
fix(gen-docs): fix issue where docs are generated wrong
2016-01-25 18:17:12 -08:00
Ari Porad
17f053df94 chore(LGTM): add LGTM config files 2016-01-25 18:16:07 -08:00
Nate Fischer
24c2120934 Merge pull request #282 from freitagbr/fix-relative-symlinks
Fix relative symlinks
2016-01-25 17:16:36 -08:00
Brandon Freitag
70ec630f92 Add invalid tests for ln 2016-01-25 01:59:20 -08:00
Brandon Freitag
39ab73ff61 Check that source exists for hard links 2016-01-25 01:48:06 -08:00
Nate Fischer
ddff4692fd fix(gen-docs): fix issue where docs are generated wrong
This fixes an issue where the gen-docs script's sed() command would improperly
update the docs. Travis now checks that docs are generated properly.
2016-01-25 00:20:36 -08:00
Brandon Freitag
fd27d85317 Use OS-agnostic filepath verification 2016-01-24 22:35:45 -08:00
Brandon Freitag
bceb066c5c Fix relative symlinks, add tests
When creating a symlink with a relative path, e.g. `ln('-s', '../baz.txt', 'foo/bar/link')`,
the link will be created releative to the destination directory, not to the
current working directory of the node process. Also added tests for
functionality.
2016-01-24 22:35:45 -08:00
Nate Fischer
f47a8e2eb8 Merge pull request #304 from ariporad/shjs-tests
test(shjs): add tests for shjs
2016-01-24 20:50:29 -08:00
Ari Porad
7244c932fa Merge pull request #308 from nfischer/fix-package-json
chore(package): remove v0.8 from engines list
2016-01-24 17:53:25 -08:00
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
Nate Fischer
9a22a95672 chore(package): remove v0.8 from engines list 2016-01-24 15:56:20 -08:00
Timothy Gu
18df9540ab Make to and toEnd chainable 2016-01-24 15:03:20 -08:00
Ari Porad
b60ab70f02 test(shjs): add tests for shjs 2016-01-24 14:24:26 -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