Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1c5ab3cb6b58d36795050402b40bcc09e574b948 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

docs = $(shell ls doc/*.md \
        |sed 's|.md|.1|g' \
        |sed 's|doc/|man/|g' \
        )

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

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

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

uninstall:
	./cli.js cache clean
	./cli.js rm npm

man:
	@mkdir man

doc: man $(docs)
	@true

man/%.1: doc/%.md
	ronn --roff --pipe $< > $@

test:
	./test/run.sh

.PHONY: install install-stable link doc clean uninstall test