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

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Karrys <luke@lukekarrys.com>2022-04-08 18:26:21 +0300
committerNathan Fritz <fritzy@github.com>2022-04-14 00:20:48 +0300
commit6ac1e44e8129f2cfb5970f6c407bc6899c854a9b (patch)
tree2679113020511400f57650eb3159ebbcada34747 /Makefile
parent672fce84b25ecbe58d311acfae6c43e5ca2d778d (diff)
chore: add test-all to makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 8 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index f863dcdc8..e280ecc9a 100644
--- a/Makefile
+++ b/Makefile
@@ -78,17 +78,14 @@ docs/content/commands/npm-%.md: docs/bin/config-doc-command.js lib/commands/%.js
freshdocs:
touch lib/utils/config/definitions.js
- touch "docs/bin/*.js"
+ touch docs/bin/*.js
make docs
-test: deps
- node bin/npm-cli.js test
-
-smoke-tests: deps
- node bin/npm-cli.js run smoke-tests
+test-all: deps
+ node bin/npm-cli.js run test-all
ls-ok:
- node . ls --production >/dev/null
+ node bin/npm-cli.js ls --production >/dev/null
gitclean:
git clean -fd
@@ -100,11 +97,10 @@ link: uninstall
node bin/npm-cli.js link -f --ignore-scripts
prune: deps
- node bin/npm-cli.js prune --production --no-save --no-audit
- @[[ "$(shell git status -s)" != "" ]] && echo "ERR: found unpruned files" && exit 1 || echo "git status is clean"
+ node bin/npm-cli.js prune --production --no-save --no-audit --no-fund
+ node scripts/git-dirty.js
-publish: gitclean ls-ok link test smoke-tests docs prune
- @git push origin :v$(shell node bin/npm-cli.js --no-timing -v) 2>&1 || true
+publish: gitclean ls-ok link test-all docs prune
git push origin $(BRANCH) &&\
git push origin --tags &&\
node bin/npm-cli.js publish --tag=$(PUBLISHTAG)
@@ -112,4 +108,4 @@ publish: gitclean ls-ok link test smoke-tests docs prune
release: gitclean ls-ok docs prune
@bash scripts/release.sh
-.PHONY: all latest install dev link docs clean uninstall test man docsclean release ls-ok deps prune freshdocs
+.PHONY: all latest install dev link docs clean uninstall test-all man docsclean release ls-ok deps prune freshdocs