Commit Graph

  • be605cb12b Adding a failing test: nvm ls 0.0.x includes v0.0.xy Jordan Harband 2014-09-28 10:18:00 -07:00
  • 3c66c20570 Improving "nvm alias" tests to test for all cases. Jordan Harband 2014-09-28 10:07:50 -07:00
  • 59bfdb9863 Making sure fast alias tests do their own teardown. Jordan Harband 2014-09-28 09:54:35 -07:00
  • 25bd2bb018 Make nvm ls-remote return nvm_ls_remote's exit code. Jordan Harband 2014-09-28 09:41:02 -07:00
  • 4a8a5a1180 Shell-quoting some more things. Jordan Harband 2014-09-27 17:25:52 -07:00
  • 145da7eef8 v0.17.1 v0.17.1 Jordan Harband 2014-09-26 23:22:56 -07:00
  • 4cf56ae186 Remove unnecessary local var declaration. Fixes #535 Jordan Harband 2014-09-26 23:22:38 -07:00
  • 5ad00f13fa Suppress error messages in case there's no master branch. Jordan Harband 2014-09-25 22:10:48 -07:00
  • 53f9841c6c v0.17.0 v0.17.0 Jordan Harband 2014-09-24 14:58:07 -07:00
  • 444efdb08b Adding some more quotes and $() Jordan Harband 2014-09-23 23:51:02 -07:00
  • 6fde379707 Use _ instead of ~ as a sentinel Jordan Harband 2014-09-23 23:50:12 -07:00
  • ce69c8413e More shellcheck recommendations Jordan Harband 2014-09-23 23:49:51 -07:00
  • 51f6109f8d Use $() instead of backticks; add quotes Jordan Harband 2014-09-23 23:49:10 -07:00
  • 4f081ce4be Collapsing some if/else conditions with elif Jordan Harband 2014-09-23 23:48:31 -07:00
  • db0051753a Compare shell variable contents with a sentinel. Jordan Harband 2014-09-23 23:47:17 -07:00
  • cf1110ecea Quote $NVM_DIR in commands Jordan Harband 2014-09-23 23:46:23 -07:00
  • 34b97bf76d Adding shell var quotes in nvm alias Jordan Harband 2014-09-23 16:36:17 -07:00
  • b962a590a2 Removing an extra mkdir -p Jordan Harband 2014-09-23 16:36:24 -07:00
  • ddb25ed5a3 Merge pull request #530 from creationix/copy_packages_from_on_install Jordan Harband 2014-09-21 18:57:04 -07:00
  • 486d14f5f8 Copy packages when applicable, whenever nvm install would normally nvm use and exit. Jordan Harband 2014-09-21 11:14:18 -07:00
  • 622fdd2cd0 Error out early if the --copy-packages-from version is invalid. Jordan Harband 2014-09-21 11:13:50 -07:00
  • eddbe15ee8 Extract --copy-packages-from argument. Jordan Harband 2014-09-21 11:13:37 -07:00
  • 2e161fe414 nvm install: Remove this redundant "already installed" check. Jordan Harband 2014-09-21 11:22:05 -07:00
  • a42b90d215 Adding some helpful output to nvm copy-packages Jordan Harband 2014-09-21 11:02:03 -07:00
  • 6bae6c07f2 Merge pull request #528 from creationix/remove_last_expr Jordan Harband 2014-09-19 12:37:33 -07:00
  • 7fd6d05426 Instead of using expr to check if paths need cleaning, compare cleaned paths to original paths and export appropriately. Jordan Harband 2014-09-19 10:10:53 -07:00
  • 5ef092b2c8 Using nvm_version_greater and nvm_version_greater_than_or_equal_to instead of expr in nvm install. Jordan Harband 2014-09-19 10:10:37 -07:00
  • cb6456fd85 Using nvm_version_greater_than_or_equal_to instead of nvm_version_greater where it increases readability. Jordan Harband 2014-09-19 10:10:01 -07:00
  • 991fb85047 Adding nvm_version_greater_than_or_equal_to Jordan Harband 2014-09-19 10:09:45 -07:00
  • edf36a8ea7 Merge pull request #526 from creationix/add_nvm_num_version_groups Jordan Harband 2014-09-16 10:13:57 -07:00
  • 35466187f2 Noting the changed behavior of nvm ls vx.y. to return something useful. Jordan Harband 2014-09-16 09:03:31 -07:00
  • c992b1766c Use nvm_num_version_groups in nvm_ls Jordan Harband 2014-09-16 08:36:40 -07:00
  • 4b2bc0be08 Adding nvm_num_version_groups Jordan Harband 2014-09-16 08:36:05 -07:00
  • 15b3e7b6a8 Removing unnecessary cleanup in "Listing Versions" tests. Jordan Harband 2014-09-16 08:59:00 -07:00
  • 8d05ab63f1 Silencing error output in the "Listing Versions" teardown script. Jordan Harband 2014-09-16 08:58:46 -07:00
  • da693eaea1 Tweaking nvm_ls_current tests. Jordan Harband 2014-09-16 08:35:48 -07:00
  • 5363ff8916 Merge pull request #525 from creationix/add_unit_tests Jordan Harband 2014-09-15 20:46:31 -07:00
  • e186fa27a7 Use nvm_version_greater in nvm_binary_available Jordan Harband 2014-09-15 09:20:47 -07:00
  • f6e0104685 Use nvm_normalize_version in nvm_version_greater Jordan Harband 2014-09-15 09:17:27 -07:00
  • 97d4e2f88f Unit tests: add nvm_find_up Jordan Harband 2014-09-15 09:09:56 -07:00
  • e0a22ccf4a Unit tests: add nvm_has Jordan Harband 2014-09-15 08:54:44 -07:00
  • d5d66c34d9 If there's no "default" specified, fall back to an .nvmrc file. Jordan Harband 2014-09-15 07:54:30 -07:00
  • 152904e3fb Return a nonzero exit code from nvm_rc_version when no .nvmrc found Jordan Harband 2014-09-15 07:51:00 -07:00
  • 64de890d07 v0.16.1 v0.16.1 Jordan Harband 2014-09-14 22:24:18 -07:00
  • a4da8a48ef Merge pull request #524 from creationix/run_installation_tests_separately Jordan Harband 2014-09-14 22:21:02 -07:00
  • 354be52672 Correct installation test paths Jordan Harband 2014-09-14 17:51:34 -07:00
  • ad604cc068 Only run the "installation" tests both with and without curl. Jordan Harband 2014-09-14 17:25:17 -07:00
  • ba08fa31d8 Moving actual installation tests to their own suite. Jordan Harband 2014-09-14 17:24:30 -07:00
  • 13aadbcf31 Run slow tests in ksh too Jordan Harband 2014-09-14 16:42:23 -07:00
  • 7bb6e9c915 Merge pull request #523 from creationix/run_slow_nvmrc_tests_too Jordan Harband 2014-09-14 16:38:12 -07:00
  • 3d3145f2e0 install: don't output "additional options" when there are none. Jordan Harband 2014-09-14 16:04:51 -07:00
  • 4c948cf422 install: Ensure that if a version is not provided, we don't try to shift a nonexistent argument. Jordan Harband 2014-09-14 16:04:37 -07:00
  • f8054d5cae copy-packages: ensure that nvm_version is also applied to compare the provided version to the current one. Jordan Harband 2014-09-14 16:04:25 -07:00
  • ad2713b13a &> is a bash-specific extension for redirecting both stdout and stderr. Jordan Harband 2014-09-14 16:04:13 -07:00
  • 243fc04164 Fixing these test files that have never been run Jordan Harband 2014-09-14 16:04:04 -07:00
  • a80f958a1e All 4 of these test files should be executable. Jordan Harband 2014-09-14 16:03:55 -07:00
  • f6fef75f36 Use git in manual install instructions to determine the latest release tag, rather than hardcoding it. Jordan Harband 2014-09-13 11:37:19 -07:00
  • 199ba53340 Fixing manual install instructions to use the version tag. Relates to #520 Jordan Harband 2014-09-13 00:59:09 -07:00
  • d1b6332bbe v0.16.0 v0.16.0 Jordan Harband 2014-09-11 00:58:09 -07:00
  • 159d4c645e Merge pull request #518 from creationix/nvm_copy_packages_system Jordan Harband 2014-09-05 09:05:27 -07:00
  • 687df82107 Make nvm copy-packages system work. Jordan Harband 2014-09-05 00:43:12 -07:00
  • ff1781b95d Make nvm copy-packages refuse to copy packages from the currently activated version. Jordan Harband 2014-09-05 00:42:59 -07:00
  • 110e571c34 Make nvm ls system work. Jordan Harband 2014-09-05 00:10:51 -07:00
  • a7108e98f2 Make .bashrc be checked first on install. Jordan Harband 2014-09-04 00:54:50 -07:00
  • 30b044a368 Merge pull request #511 from 16BITBoy/bashrc-support Jordan Harband 2014-09-04 00:53:23 -07:00
  • 825cb46969 Updated error message for missing profile file Adrian Perez Heredia 2014-08-28 12:58:25 +02:00
  • ab56ec6675 This patch adds support for terminal emulators. Without this it wont work on gnome-terminal on Ubuntu Adrian Perez Heredia 2014-08-26 19:53:58 +02:00
  • 9d96e4a6bf v0.15.0 v0.15.0 Jordan Harband 2014-09-03 00:08:53 -07:00
  • a00a3a7429 Document NVM_SYMLINK_CURRENT env var from #514. Jordan Harband 2014-09-03 00:07:45 -07:00
  • 1c3585e5a2 Merge pull request #508 from creationix/nvm_copy_packages_not_npm Jordan Harband 2014-09-03 00:01:03 -07:00
  • 214ce8853b npm ls has a bug in some versions when "--parseable --depth=0" is used together. Jordan Harband 2014-09-02 15:04:35 -07:00
  • 603253b0cb Quote the version. Jordan Harband 2014-08-29 00:12:16 -07:00
  • 5ee955bb62 Remove unused $ROOT variable. Jordan Harband 2014-08-29 00:12:02 -07:00
  • 4b3d6f1760 Properly pass a space-separated list of packages to npm install Jordan Harband 2014-08-22 02:44:04 -07:00
  • 56c40cfa3c Don't try to copy npm itself with nvm copy-packages. Jordan Harband 2014-08-22 02:19:56 -07:00
  • d24dc662dc Merge pull request #512 from kevinwang/shasum-lowest-priority Jordan Harband 2014-09-02 00:36:17 -07:00
  • e8056ac460 Run cleanup on die in nvm_checksum unit test. Kevin Wang 2014-08-30 21:57:17 -05:00
  • 429656bc41 Add unit tests for nvm_checksum. Kevin Wang 2014-08-30 21:54:46 -05:00
  • b61445cbf4 Merge pull request #514 from stelcheck/master Jordan Harband 2014-08-30 09:49:52 -07:00
  • 83a0efb085 * We print stats only on failure * || true stelcheck 2014-08-29 15:01:15 +09:00
  • 9306a9b3f0 * Unit tests stelcheck 2014-08-29 14:57:30 +09:00
  • 59939d09e8 * Make the creation of a symlink an overridable default behaviour stelcheck 2014-08-28 22:45:07 +09:00
  • f9769e40dd v0.14.0 v0.14.0 Jordan Harband 2014-08-27 00:49:30 -07:00
  • 9c44a3e4c7 Merge pull request #513 from creationix/node_0_6_21_pre Jordan Harband 2014-08-27 00:38:32 -07:00
  • 5048a78376 Add special handling for node v0.6.21-pre Jordan Harband 2014-08-26 23:53:17 -07:00
  • 814319d7c0 Make shasum the lowest priority checksum command. Kevin Wang 2014-08-26 23:52:53 -05:00
  • fd9e01b7e6 Merge pull request #507 from creationix/nvm_ls_current_tests Jordan Harband 2014-08-22 01:59:14 -07:00
  • 150aea21ec Fixes #487. Jordan Harband 2014-08-21 16:51:24 -07:00
  • 273f9d497a Adding unit tests for nvm_ls_current. Relates to #487. Jordan Harband 2014-08-21 01:35:03 -07:00
  • 5c7f08843d Add error checking to nvm_tree_contains_path Jordan Harband 2014-08-21 17:15:53 -07:00
  • 6e6c5c4e2a Removing an invalid option to touch from this test. Jordan Harband 2014-08-21 17:19:43 -07:00
  • 1c2c4788a2 Fixing nvm_version_greater tests. Jordan Harband 2014-08-21 23:42:51 -07:00
  • b59ecb9e11 Make sure the new versions directory is filtered out of nvm_ls output (in zsh). Jordan Harband 2014-08-21 22:54:26 -07:00
  • 7551746e55 Merge pull request #505 from magicdrive/fix-error_nvm_version_greater Jordan Harband 2014-08-21 22:42:05 -07:00
  • 70ac1e7fa4 Fix tests so that they fail in zsh (for #505) Jordan Harband 2014-08-21 22:40:18 -07:00
  • f130d02efc Fixed nvm_version_greater has syntax error in zsh-buildin-command [ Hiroshi IKEGAMI 2014-08-22 10:59:11 +09:00
  • 1c85068091 Merge pull request #502 from creationix/nvm_version_path Jordan Harband 2014-08-20 22:49:17 -07:00
  • 3747735980 Make sure nvm clear-cache clears the versions directory as well. Jordan Harband 2014-08-20 00:50:15 -07:00
  • 5dd2d7e5d4 Make nvm ls support listing the "versions" directory when it's present. Jordan Harband 2014-08-20 00:42:50 -07:00
  • 65c2435418 Making sure that versions are backed up when running tests. Jordan Harband 2014-08-20 00:37:38 -07:00