Files
nodejs16/update_npm_tarball.sh

16 lines
292 B
Bash

#!/bin/bash
#
# Fetch npm module tarball that is required to run unit tests
# which are not provided by upstream tarball
#
# This is only needed for NodeJS 10.x
#
set -e
tar xf node-git.*.tar
cd node-git.*/tools/doc
npm i
cd ../..
exec tar Jcf ../node_modules.tar.xz tools/doc/node_modules