Skip to content

Commit

Permalink
makefile: fix docs target typo
Browse files Browse the repository at this point in the history
A few references to the `doc` target were not updated to `docs` in
npm#274 and resulted in `make release`
not building the docs.

PR-URL: npm#546
Credit: @richardlau
Close: npm#546
Reviewed-by: @mikemimik
  • Loading branch information
richardlau authored and Michael Perrotte committed Dec 3, 2019
1 parent 4c1b16f commit 4429645
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,11 @@ publish: gitclean ls-ok link docs-clean docs
git push origin --tags &&\
node bin/npm-cli.js publish --tag=$(PUBLISHTAG)

release: gitclean ls-ok markedclean marked-manclean docs-clean doc
release: gitclean ls-ok markedclean marked-manclean docs-clean docs
node bin/npm-cli.js prune --production --no-save
@bash scripts/release.sh

sandwich:
@[ $$(whoami) = "root" ] && (echo "ok"; echo "ham" > sandwich) || (echo "make it yourself" && exit 13)

.PHONY: all latest install dev link doc clean uninstall test man docs-clean docclean release ls-ok realclean
.PHONY: all latest install dev link docs clean uninstall test man docs-clean docclean release ls-ok realclean

0 comments on commit 4429645

Please sign in to comment.