Commit Graph

1341 Commits (c3b16603c0f91c276595b360172ab0c0cfe7f9cd)

Author SHA1 Message Date
Matthew Campbell 78fee866f5 Remove usage of declare 2016-01-01 22:33:45 -05:00
Matthew Campbell 8dc53d4dd5 Refactor and fix nvm_detect_profile tests
close #833
close #957
2016-01-01 20:45:36 -05:00
Matthew Campbell 645bda4987 Addresses comments to close #833 2016-01-01 14:09:35 -05:00
David Mankin 918fcb4bd2 PROFILE env var should override detected profile
Add tests for PROFILE overriding detected files
2016-01-01 14:00:36 -05:00
David Mankin cb138a1815 Fix error messages in tests 2016-01-01 13:34:34 -05:00
Jordan Harband 6094dac1c1 [Fix] `nvm debug` was printing a red herring error message in non-zsh. 2015-12-30 09:45:13 -08:00
Jordan Harband 0aa3118de3 v0.30.1 2015-12-28 12:46:41 -08:00
Jordan Harband 2541baaf7d [Refactor] Create `nvm_get_make_jobs` to abstract out “-j” logic. 2015-12-28 12:20:14 -08:00
Jordan Harband dc8b63cb25 [Fix] `nvm install -s`: fix syntax errors. 2015-12-28 12:19:50 -08:00
Jordan Harband f3cc95bc66 Merge pull request #952 from davemay99/install-fix-quotes
[Fix] install.sh: quote `$DETECTED_PROFILE`
2015-12-28 09:24:42 -08:00
Dave May 00d4520d35 Merge remote-tracking branch 'creationix/master' into install-fix-quotes 2015-12-28 12:08:57 -05:00
Jordan Harband 8ec056f768 v0.30.0 2015-12-27 23:19:14 -08:00
Dave May f113c5d030 fix quoting for usernames with space 2015-12-28 00:34:38 -05:00
Jordan Harband f279837d5c [Refactor] fix some bugs in `nvm_is_natural_num`, add unit tests. 2015-12-27 13:15:53 -08:00
Jordan Harband 32d184099c [Tests] fix cleanup in nvm_supports_xz unit test 2015-12-27 13:18:28 -08:00
Jordan Harband 31457fec3f [Refactor] `nvm install`: make `-j` and `-s` order-independent. 2015-12-27 12:52:01 -08:00
thelostspore 1a6f85da46 README: troubleshooting scenario and homebrew unsupported note 2015-12-27 12:55:35 -08:00
Jordan Harband d40eca8126 Merge pull request #752 from PeterDaveHelloKitchen/parallel_build
[New] `nvm install`: Enable multiple jobs for make when build from source via `-j`
2015-12-27 12:37:48 -08:00
Peter Dave Hello cfccf03b3d add test for install from source 2015-12-28 01:37:57 +08:00
Peter Dave Hello e78dc5110e fix CPU_THREADS/CPU_THREAD_VALID/MAKE_JOBS prefix 2015-12-28 01:37:57 +08:00
Peter Dave Hello 6320719dd8 Support parameter -j to set jobs for make 2015-12-28 01:37:57 +08:00
Peter Dave Hello a8e6fee001 Enable multiple jobs for when build from source 2015-12-28 01:37:57 +08:00
Mathias Meyer f851716601 Add workaround for Travis CI environment issue.
Per https://github.com/travis-ci/travis-ci/issues/5363
2015-12-22 11:28:25 +01:00
Jordan Harband 9787c438bb Merge pull request #950 from kui/commands-includes-spaces
[Fix] fix `nvm-exec` for commands including spaces.

Relates to #903.
2015-12-24 08:42:01 -08:00
Keiichiro Ui b76d43e9f8 Fix `nvm-exec` for the commands includes white-spaces 2015-12-24 19:48:35 +09:00
emparq 91ce41b702 [Fix: Install] incorrect check for `"$NVM_DIR/nvm.sh"`
Should be using `-f` if checking for a file.

Closes #887.
2015-10-30 18:48:08 -07:00
Kilian Ciuffolo 6638ac3318 [refactor] improved bootstrap time
Fixes #860, closes #927.
2015-12-06 23:52:40 -08:00
Peter Dave Hello 605a305300 add iojs as one of the keywords in package.json 2015-12-21 23:07:52 -08:00
Jordan Harband 4976788d1b Merge pull request #945 from PeterDaveHello/update_nodejs_index.tab
[tests] update nodejs.org-dist-index.tab
2015-12-21 23:06:40 -08:00
Peter Dave Hello ec9232bb06 update nodejs.org-dist-index.tab and related test
Src: https://iojs.org/dist/index.tab
2015-12-21 20:50:54 +08:00
Jordan Harband c56c26badd Merge pull request #938 from tomByrer/patch-1
[Docs] del `nvmw` link
2015-12-13 22:55:03 -08:00
Jordan Harband 04c5e3540e `nvm unalias`: Provide a restore command when unaliasing.
Fixes #916.
2015-12-13 21:34:28 -08:00
Tom Byrer 2a8caf48e8 del nvmw link
Seems to be abandoned:
- https://github.com/hakobera/nvmw/issues/67
- https://github.com/hakobera/nvmw/issues/66
- https://github.com/hakobera/nvmw/issues/69
2015-12-13 18:16:14 -07:00
Daniel Kmak 896199facc Update README.markdown and LICENSE.md 2015-12-12 20:00:49 +01:00
Jordan Harband 8746344e02 Merge pull request #925 from riyadhalnur/patch-1
[Docs] add note about Xcode Command Line Tools on OS X
2015-12-04 23:57:57 -08:00
Riyadh Al Nur dbe2a1b2b4 Updated README
Updated README to inform OSX users that XCode doesn't need to be installed in order to get stsrted using `nvm`.

Fixes #921
2015-12-05 13:52:30 +06:00
Jordan Harband 317f8f9e68 Merge pull request #901 from PeterDaveHello/patch-4
[Docs] add FreeBSD info to README
2015-12-04 23:42:51 -08:00
Peter Dave Hello 4ef9e1583c Update README.markdown
Talk about FreeBSD support.
Hope user can easily know that earlier, and also hope we can get much more help about this topic.
2015-12-05 15:41:04 +08:00
Jordan Harband 09bf45ce6c Merge pull request #908 from nullivex/master
[Docs] Add another Windows alternative.
2015-12-04 23:35:30 -08:00
Jordan Harband 641abc8407 Merge pull request #899 from PeterDaveHello/patch-2
[install] on install, indicate that there's no binary for FreeBSD
2015-12-04 23:31:49 -08:00
Peter Dave Hello 2a174d03d8 Update nvm.sh
Add prompt when there is no binary for node version greater than v1.0.0

Currently, on FreeBSD, if we try `nvm install 4.2`, we will only get:
> Installing node v1.0 and greater from source is not currently supported

In fact I had no idea what's wrong because I didn't use `-s` parameter for it,
and then I found that there are two reasons:
1. There was no pre-built nodejs binary from official for FreeBSD, which means we need to build from source.
2. nvm doesn't support build for v1.0 and greater version from source yet.

So I think there should be a prompt message to tell the user about the reason why nvm will go to build from source,
no matter it will succeed or fail.
2015-12-05 15:00:00 +08:00
Jordan Harband 803be3a4eb [Tests] temporarily disable WITHOUT_CURL tests.
Blocked by https://github.com/nodejs/build/issues/233
2015-12-02 22:49:38 -08:00
Jordan Harband 6d2c9a95b0 [Docs] remove note about "global install", since `nvm` is not intended for multiuser installs.
Per https://github.com/creationix/nvm/issues/918#issuecomment-161527422
2015-12-02 22:14:08 -08:00
Bryan Tong 720087b009 Add another Windows alternative.
Nodist is a similar CLI interface providing similar functionality. Nodist also recently added a Windows install wizard.
2015-11-18 20:18:55 -07:00
Jordan Harband c742ab7e66 Fix `npm` version output for `nvm run` and `nvm exec` 2015-11-10 23:31:16 -08:00
Jordan Harband e10705b896 [Docs] improve manual install instructions 2015-11-09 11:36:30 -08:00
Jordan Harband 9972de6dec [Docs] update version numbers in the readme; add default alias info 2015-11-04 21:19:32 -08:00
Jordan Harband 45e4387ce3 [Tests] Print out `curl` and `wget` versions inside `travis-ci` 2015-11-02 00:50:40 -08:00
Jordan Harband cb03acf458 Merge pull request #892 from wbyoung/stable-node
[Docs] use "node", not "stable", since everything is stable now
2015-11-03 10:46:14 -08:00
Whitney Young 9cceded178 Updated docs for alias default. 2015-11-03 10:44:07 -08:00