0
0
mirror of https://github.com/tj/n.git synced 2024-12-01 14:41:07 +01:00
Commit Graph

193 Commits

Author SHA1 Message Date
Daniel D. Shaw
6c838cd4d5 Added support for installing node with a tarball. 2012-01-26 04:24:00 -08:00
John Hamelink
824d2154c1 Adding Symlink to currently used version of node so that globally installed modules are accessible from the PATH if the path is extended. 2012-01-20 22:01:51 +00:00
Yevgeniy Viktorov
a8c9d629fc wrap npm into certain node version 2012-01-04 19:57:49 +02:00
Tj Holowaychuk
8d1ec71f4c swap echo for printf. closes #44 2011-12-08 08:48:38 -08:00
Bo-Yi Wu
e44f849dcc Add execute npm arg if node.js version greater than or equal 0.6.3
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2011-11-29 13:04:59 +08:00
TJ Holowaychuk
c5a8d5e636 moar jobs 2011-11-05 12:02:15 -07:00
TJ Holowaychuk
26bea532be Release 0.5.4 2011-11-05 11:20:30 -07:00
Patrick Pfeiffer
cec7deb93d fix install >= 0.5.x 2011-11-05 19:10:49 +01:00
TJ Holowaychuk
33bd1cc647 Release 0.5.3 2011-11-04 06:41:31 -07:00
TJ Holowaychuk
80c8a1f050 Fixed issue when prefix/lib/node dir is not present. Closes #37 2011-11-04 06:40:54 -07:00
TJ Holowaychuk
0078f52f66 PREFIX no longer used 2011-11-04 06:36:31 -07:00
TJ Holowaychuk
5b98d66c8c exec 2011-10-29 10:11:59 -07:00
Drew Wells
aff5c640c1 Merge branch 'master' into patch-1
Conflicts:
	bin/n

Merged changes incoming with 0.5.2
2011-10-26 19:25:27 -04:00
Tj Holowaychuk
9c9e5529a4 Release 0.5.2 2011-10-14 16:47:47 -07:00
Tj Holowaychuk
236c97dfad Fixed check_current_version() when node is not present 2011-10-14 16:43:23 -07:00
Tj Holowaychuk
bcdac8d392 Release 0.5.1 2011-10-11 08:56:05 -07:00
Tj Holowaychuk
0ac0914132 Fixed newer 0.5.x versions
the patch level commit I accepted messed this up
2011-10-11 08:43:21 -07:00
Patrick Pfeiffer
a2b9819cf9 fix node-waf 2011-10-11 05:44:33 +02:00
rumpl
05c0a93912 node verion 0.5.0 is not in its own folder. 2011-09-20 20:08:21 +02:00
Tj Holowaychuk
9cdd730db0 Release 0.5.0 2011-08-08 16:13:16 -07:00
Tj Holowaychuk
885d05d4d1 Added support for 0.5.x. Closes #30 2011-08-08 16:11:13 -07:00
Drew Wells
4534d90d38 Address issues with installing node locally in home directory.
Tested:
n latest (install)
n install 0.5.1
n use 0.5.1
n latest (activate)
n 0.4.10
2011-07-31 19:03:21 -03:00
Nagi Letaifa
4e43b2c36e Fix #25 2011-07-24 14:55:20 +02:00
Tj Holowaychuk
7e0c059784 Release 0.4.2 2011-06-28 10:51:51 -07:00
Darren DeRidder
a84e2bfabe Tested on OSX, modified for compatability 2011-06-27 02:22:58 -04:00
Darren DeRidder
c006e9ed3f Fall back to /usr/local 2011-06-24 13:11:53 -04:00
Darren DeRidder
1bf60a04f5 Let n play nice on Ubuntu with local node install.
* Fix stdin / stderr redirect to work with sh
  * Fix cd relative path issue
  * Try to find node and n before defaulting to /usr/local/
  * (can still set PREFIX, N_PREFIX env vars to override)
  * Canadian content eh
2011-06-21 16:33:20 -04:00
Tj Holowaychuk
bcc764dc14 Release 0.4.1 2011-03-13 10:10:16 -07:00
Alexander Simmerl
79bbbd8c99 fix bad substitution errors on ubuntu 2011-03-13 10:09:32 -07:00
Tj Holowaychuk
0d75b916b6 Release 0.4.0 2011-02-14 09:02:47 -08:00
Dav Glass
0e04afb0f7 Added --no-check-certificate for Github Downloads 2011-02-14 08:59:51 -08:00
Dav Glass
1ea222ab4d Moved abort and log up, so they are defined before calling 2011-02-14 08:59:33 -08:00
Tj Holowaychuk
9d5f3bc459 misc refactor 2011-02-14 08:55:06 -08:00
Dav Glass
a28fa9d340 Added markers to installed and current versions 2011-02-14 08:53:32 -08:00
Tj Holowaychuk
325997f5ef indentation 2011-02-07 15:55:40 -08:00
Dav Glass
e9043b7f88 Added version dir check, if the mkdir fails abort with an error 2011-02-07 15:55:27 -08:00
Tj Holowaychuk
3028c839be Added --help info for n ls|list 2011-02-07 15:53:17 -08:00
Tj Holowaychuk
b890a96024 Added n ls|list to show versions available 2011-02-07 15:51:32 -08:00
Tj Holowaychuk
6c952abcd1 Improved error message when tar fails (usually due to invalid version number) [davglass] 2011-01-22 23:52:06 -08:00
Tj Holowaychuk
b8ba0b2d1c Release 0.3.0 2011-01-21 16:56:02 -08:00
Tj Holowaychuk
ea037bfc50 Fixed wafadmin issue, installing lib/node/*. Closes #7 2011-01-21 16:55:16 -08:00
Tj Holowaychuk
1927720473 Added n latest 2011-01-21 15:25:07 -08:00
Tj Holowaychuk
a92ff56ebb Added n --latest 2011-01-21 15:22:46 -08:00
Tj Holowaychuk
d5622a5499 Release 0.2.2 2011-01-21 13:01:34 -08:00
Tj Holowaychuk
7c9c9b662e Fixed escape 2011-01-21 13:01:13 -08:00
Tj Holowaychuk
77cf454c44 Release 0.2.1 2011-01-21 12:52:59 -08:00
Tj Holowaychuk
6c494fec0c Installing node-waf. Closes #5 2011-01-21 12:52:32 -08:00
Tj Holowaychuk
cc0e877c8b misc refactoring 2011-01-21 08:26:36 -08:00
Tj Holowaychuk
489458d29a Release 0.2.0 2011-01-20 19:37:38 -08:00
Tj Holowaychuk
4ddb8b0a7d Better docs 2011-01-20 19:35:00 -08:00
Tj Holowaychuk
c9708d2831 Added displaying of config options when using n 2011-01-20 19:30:40 -08:00
Tj Holowaychuk
bc9526f2c6 Storing install config to $dir/.config 2011-01-20 19:26:43 -08:00
Tj Holowaychuk
9eb7ddd4fe Changed; n <version> ignores non-n installations 2011-01-20 19:12:02 -08:00
Tj Holowaychuk
f2a2457f5a Release 0.1.2 2011-01-20 18:29:19 -08:00
Tj Holowaychuk
6ae40cd138 Added help alias of --help 2011-01-20 18:26:38 -08:00
Tj Holowaychuk
6905c29b73 Fixed bash specific substitutions. Closes #1 2011-01-20 18:26:03 -08:00
Tj Holowaychuk
28700f9bd2 Release 0.1.1 2011-01-13 18:25:25 -08:00
Tj Holowaychuk
c544c2dff3 Added is not installed msg on use 2011-01-09 19:37:00 -08:00
Tj Holowaychuk
f2447a3b5a refactored substitutions 2011-01-08 16:46:38 -08:00
Tj Holowaychuk
72f2304439 misc 2011-01-08 16:25:06 -08:00
Tj Holowaychuk
84306382d1 Release 0.1.0 2011-01-05 13:44:17 -08:00
Tj Holowaychuk
19651680b0 more refactoring 2011-01-05 13:42:00 -08:00
Tj Holowaychuk
c5af23f6ed more refactoring 2011-01-05 13:40:38 -08:00
Tj Holowaychuk
546de80e09 misc refactoring 2011-01-05 13:38:46 -08:00
Tj Holowaychuk
0ce4694c27 Added n as <version> [args ...] 2011-01-05 13:33:28 -08:00
Tj Holowaychuk
81432ba7b4 Release 0.0.4 2011-01-05 09:14:41 -08:00
Tj Holowaychuk
131a064707 Added which alias of bin 2011-01-05 09:14:16 -08:00
Tj Holowaychuk
c3faf5f02e Release 0.0.3 2011-01-05 08:43:42 -08:00
Tj Holowaychuk
0a31d25dbb Added n bin <version> command 2011-01-05 08:43:16 -08:00
Tj Holowaychuk
85e2fbd710 Release 0.0.2 2011-01-05 08:23:32 -08:00
Tj Holowaychuk
e2ce5084e6 Added - alias of rm 2011-01-05 08:23:02 -08:00
Tj Holowaychuk
acea331b67 red error 2011-01-05 08:20:40 -08:00
Tj Holowaychuk
c7244d4439 Added n rm support 2011-01-05 08:17:16 -08:00
Tj Holowaychuk
2919626f4f docs 2011-01-05 08:03:50 -08:00
Tj Holowaychuk
800d128d01 docs 2011-01-05 07:55:56 -08:00
Tj Holowaychuk
dfc3c0ea56 Added config flag support 2011-01-05 07:54:50 -08:00
Tj Holowaychuk
c41e3b1300 Using PREFIX 2011-01-05 07:44:55 -08:00
Tj Holowaychuk
38187f856c PREFIX -> N_PREFIX 2011-01-05 07:41:36 -08:00
Tj Holowaychuk
0fa203814c Activating install 2011-01-05 07:40:17 -08:00
Tj Holowaychuk
0161070687 return when active 2011-01-05 07:25:55 -08:00
Tj Holowaychuk
7dccb39ea3 Added check_current_version 2011-01-05 07:24:18 -08:00
Tj Holowaychuk
cea6c1153f refactored version display 2011-01-05 07:20:59 -08:00
Tj Holowaychuk
f1be3e1dc6 Displaying installed versions 2011-01-05 07:12:58 -08:00
Tj Holowaychuk
3d10d311d6 Added N_PREFIX support 2011-01-05 07:08:46 -08:00
Tj Holowaychuk
cb5e54be89 typos 2011-01-05 06:57:04 -08:00
Tj Holowaychuk
a76cc384dc Install to $PREFIX/$version 2011-01-05 06:52:07 -08:00
Tj Holowaychuk
1abb735bb1 Added cleanup() 2011-01-05 06:51:14 -08:00
Tj Holowaychuk
0594bb0e13 Added display_current_version() 2011-01-05 06:35:53 -08:00
Tj Holowaychuk
ed8f539d58 typo 2011-01-05 06:29:52 -08:00
Tj Holowaychuk
3017360ba7 installing 2011-01-05 06:29:39 -08:00
Tj Holowaychuk
d3ac35d2f2 abort 2011-01-05 06:03:31 -08:00
Tj Holowaychuk
1667a31d61 Started n(1) 2011-01-05 06:02:02 -08:00
Tj Holowaychuk
73896ff4a6 Initial commit 2011-01-05 05:50:12 -08:00