Peter Dave Hello
7c0dc2be68
[Docs] Make the indent in readme consistenly use soft tabs
2016-12-03 21:32:41 +08:00
Peter Dave Hello
d5340539d9
[Docs] Link version badge to the release page
2016-12-02 19:33:48 +08:00
Peter Dave Hello
45771499ee
[Fix] nvm should respect CC/CXX env var
...
- Also set CC for Freebsd, not only CXX
- Also set CC=cc, CXX=c++ on Mac OS by default as upstream
Reference:
1bd871655a/configure (L16-L17)
2016-11-29 15:30:01 +08:00
Peter Dave Hello
84575cf353
[Refactor] Use "case" instead of multi "if"
2016-11-28 03:39:48 +08:00
Jordan Harband
47c60dfc1d
[Tests] add test to ensure that nvm unload
unloads all functions.
2016-11-28 12:50:35 -08:00
Peter Dave Hello
c96c561c88
[Fix] nvm unload missed node_version_has_solaris_binary()
2016-11-28 18:35:32 +08:00
Peter Dave Hello
f29cd1a2ab
[Fix] nvm unload missed NVM_CD_FLAGS NVM_BIN NVM_MAKE_JOBS NVM_PATH
2016-11-28 04:14:21 +08:00
Peter Dave Hello
00a1ee6c4d
[Fix] nvm unload missed nvm_cache_dir() nvm_cd()
2016-11-28 04:10:42 +08:00
George Adams
a7648ebd9f
[Fix] nvm install -s
: aix
: detect number of threads on aix and not just number of processors
2016-11-23 06:36:52 -05:00
Peter Dave Hello
26fec8035f
[Docs] update alpine environment installation info
2016-11-28 02:43:59 +08:00
Peter Dave Hello
c58540666d
[Docs] update readme about compile nodejs v0.10+ from src
2016-11-27 21:21:49 +08:00
Gibson Fahnestock
7f1917d0aa
[Refactor] Rename NVM_CPU_THREADS to NVM_CPU_CORES
2016-11-24 18:04:14 +00:00
Peter Dave Hello
7d08ad4311
[Tests] also cache $HOME/.ghc for cabal
2016-11-25 23:57:08 +08:00
Jordan Harband
5b820a453c
[Refactor] avoid S2181 spellcheck error.
2016-11-25 00:56:28 -06:00
Jordan Harband
af73102481
[Fix] fix a typo i made in 20ae7ee309
2016-11-25 00:35:33 -06:00
Peter Dave Hello
20ae7ee309
[Tests] Run shellcheck on nvm-exec in Travis CI
2016-11-24 14:07:56 +08:00
Peter Dave Hello
ac63638469
[Fix] add missing quotes for $NODE_VERSION in nvm-exec
2016-11-24 13:44:39 +08:00
Peter Dave Hello
7ed1e71944
[Refactor] Add missing backslash for dots
...
Related: #1279 , 2a2b8bd
, cadbbce
2016-11-24 13:47:20 +08:00
Peter Dave Hello
b7f9fbd3a7
[Tests] run shellcheck for bash_completion in Travis CI
2016-11-24 16:00:23 +08:00
Peter Dave Hello
9963660a11
[shellcheck] SC1004,SC2086 fixes in bash_completion
2016-11-24 15:59:16 +08:00
Peter Dave Hello
60ba4bca0c
[Tests] Remove not working clang part until we refactor the workflow
2016-11-24 14:38:22 +08:00
Peter Dave Hello
e47b313b85
[readme] Auto install not exist version in zsh .nvmrc script
...
Fixes #1272 .
2016-11-14 19:44:55 +08:00
Peter Dave Hello
4b4e71f05c
[shellcheck] disable "Check exit code directly" warning on line 273, 666
...
We need to use both the exit state and result form the previous commit,
so SC2181 should be disabled here.
2016-11-23 22:04:45 +08:00
Peter Dave Hello
5508f8dc70
[Tests] switch to use Cabal to install ShellCheck
...
1. This can help speed up the apt process since we decrease the
complexity of apt sources and package dependencies resolving by dropping
an additional ppa source.
2. Stack doesn't update ShellCheck to v0.4.5 after it has been released
more than one month, Cabal can provide ShellCheck v0.4.5
2016-11-23 22:04:45 +08:00
Kilian Ciuffolo
375458ca98
re creationix/nvm#860 improved bootstrap time
2015-12-06 23:52:40 -08: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
Jordan Harband
772d3223e9
Merge pull request #875 from mrueg/remove-backticks
...
[shellcheck] Replace backticks with $() command substitution
2015-10-29 01:15:02 -07:00
Manuel Rüger
1adcabf5e8
Replace backticks with $() command substitution
2015-10-28 20:53:15 +01:00
Jordan Harband
a43ff7c9d9
Ensure that npm
doesn't print out excess data, regardless of the user's log level.
...
Fixes #881 .
2015-10-23 00:12:14 -07:00
Jordan Harband
149e5d483d
Use real snapshot of iojs.org data for nvm_ls_remote_iojs
tests.
2015-10-17 12:05:44 -07:00
Jordan Harband
114f27a075
Use nvm_ls_remote_index_tab
for listing nodejs.org versions.
...
Enabled by https://github.com/nodejs/build/issues/218 , unblocks #870 .
2015-10-17 10:34:42 -07:00
Jordan Harband
690543d6ad
Rename nvm_ls_remote_iojs_org → nvm_ls_remote_index_tab and make it generic.
2015-10-17 10:19:39 -07:00
Jordan Harband
b5e0603e64
Merge pull request #876 from derekstavis/patch-1
...
README: Add link to a dedicated nvm wrapper for fish shell
2015-10-15 17:17:13 -07:00
Derek Willian Stavis
84c2d6a91f
README: Add link to a dedicated nvm wrapper for fish shell
...
Includes references to `nvm` plugin for Oh My Fish framework,
which implements not only a fish wrapper to official `nvm` script,
but also provides completions.
2015-10-15 21:00:23 -03:00
Jordan Harband
0b9526e3b4
Don't check $1
unless $#
is >= 1.
...
Fixes #873 . Partially fixes #868 .
2015-10-14 23:02:00 -07:00