Skip to content

Commit 4eff2bf

Browse files
committed
tools: do not include docs in slim tarball
Signed-off-by: Antoine du Hamel <[email protected]>
1 parent 0a9b67e commit 4eff2bf

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1244,11 +1244,17 @@ pkg-upload: pkg
12441244
ssh $(STAGINGSERVER) "rclone copyto nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/$(TARNAME).pkg $(CLOUDFLARE_BUCKET)/nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/$(TARNAME).pkg"
12451245
ssh $(STAGINGSERVER) "touch nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/$(TARNAME).pkg.done"
12461246

1247+
ifeq ($(SKIP_SHARED_DEPS), 1)
1248+
$(TARBALL): release-only
1249+
else
12471250
$(TARBALL): release-only doc-only
1251+
endif
12481252
git checkout-index -a -f --prefix=$(TARNAME)/
1253+
ifneq ($(SKIP_SHARED_DEPS), 1)
12491254
mkdir -p $(TARNAME)/doc/api
12501255
cp doc/node.1 $(TARNAME)/doc/node.1
12511256
cp -r out/doc/api/* $(TARNAME)/doc/api/
1257+
endif
12521258
sed 's/fileset = fileset.intersection (fileset.gitTracked root)/fileset =/' tools/nix/v8.nix > $(TARNAME)/tools/nix/v8.nix
12531259
$(RM) -r $(TARNAME)/.editorconfig
12541260
$(RM) -r $(TARNAME)/.git*
@@ -1290,7 +1296,6 @@ endif
12901296
$(RM) -r $(TARNAME)/deps/v8/samples
12911297
$(RM) -r $(TARNAME)/deps/v8/tools/profviz
12921298
$(RM) -r $(TARNAME)/deps/v8/tools/run-tests.py
1293-
$(RM) -r $(TARNAME)/doc/images # too big
12941299
$(RM) -r $(TARNAME)/test*.tap
12951300
$(RM) -r $(TARNAME)/tools/cpplint.py
12961301
$(RM) -r $(TARNAME)/tools/eslint

0 commit comments

Comments
 (0)