16 lines
296 B
Bash
16 lines
296 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 Jxf node-v10.*.tar.xz
|
||
|
cd node-v10.*/tools/doc
|
||
|
npm i
|
||
|
cd ../..
|
||
|
exec tar Jcf ../node_modules.tar.xz tools/doc/node_modules
|