diff options
author | isaacs <i@izs.me> | 2021-08-19 19:02:54 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-08-24 19:04:09 +0300 |
commit | 52401fd45ae98f44a00350df66fdba313e3deab3 (patch) | |
tree | 949289ad694dd7da825be9d068188d79e4b6af36 /Makefile | |
parent | e3878536f3612d9ddc3002c126cfa9a91021c7db (diff) |
chore: update config snapshot when manually making docs
The better to avoid having to do patches like 771a1cbf7.
PR-URL: https://github.com/npm/cli/pull/3664
Credit: @isaacs
Close: #3664
Reviewed-by: @wraithgar
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -30,7 +30,12 @@ all: docs docs: mandocs htmldocs +# don't regenerate the snapshot if we're generating +# snapshots, since presumably we just did that. 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 |