Skip to content

Commit

Permalink
chore: update config snapshot when manually making docs
Browse files Browse the repository at this point in the history
The better to avoid having to do patches like 771a1cb.
  • Loading branch information
isaacs committed Aug 19, 2021
1 parent 771a1cb commit bf8f666
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ all: docs
docs: mandocs htmldocs

mandocs: dev-deps $(mandocs)
@ ! [ $${npm_lifecycle_event} = "snap" ] && \
! [ $${npm_lifecycle_event} = "postsnap" ] && \
TAP_SNAPSHOT=1 node test/lib/utils/config/definitions.js || true

$(version_mandocs): package.json

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
"test": "tap",
"check-coverage": "tap",
"snap": "tap",
"postsnap": "make -s docs/content/*/*.md",
"postsnap": "make -s mandocs",
"test:nocleanup": "NO_TEST_CLEANUP=1 npm run test --",
"sudotest": "sudo npm run test --",
"sudotest:nocleanup": "sudo NO_TEST_CLEANUP=1 npm run test --",
Expand Down

0 comments on commit bf8f666

Please sign in to comment.