Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
Improve install process.
Browse files Browse the repository at this point in the history
Remove the install-npm.js.
Add install-stable, install, and link Make commands.  The default is still to do install-stable.
  • Loading branch information
isaacs committed May 10, 2010
1 parent 2cdd515 commit 743d387
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 20 deletions.
14 changes: 12 additions & 2 deletions Makefile
Expand Up @@ -4,8 +4,18 @@ docs = $(shell ls doc/*.md \
|sed 's|doc/|man/|g' \
)

install-stable:
./cli.js --auto-activate always install npm@stable

install:
@node install-npm.js
./cli.js --auto-activate always install .

link:
./cli.js --auto-activate always link .

uninstall:
@echo TODO: have npm uninstall itself.
@echo See http://github.com/isaacs/npm/issues/issue/27

man:
@mkdir man
Expand All @@ -16,4 +26,4 @@ doc: man $(docs)
man/%.1: doc/%.md
ronn --roff $< > $@

.PHONY: install doc clean uninstall
.PHONY: install install-stable link doc clean uninstall
18 changes: 0 additions & 18 deletions install-npm.js

This file was deleted.

0 comments on commit 743d387

Please sign in to comment.