2023-02-07 10:48:04 +01:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Script to create node_modules.tar.xz for the tests.
|
|
|
|
# Adapted from .github/workflows/test.yml
|
|
|
|
# Execute this in an extracted github archive/cloned repository
|
|
|
|
# Note: The pathname MUST NOT include any ':' as is common
|
|
|
|
# in checked out obs package directories.
|
|
|
|
|
|
|
|
# requires: yarn, npm
|
|
|
|
|
|
|
|
pushd javascript
|
|
|
|
yarn
|
|
|
|
yarn build
|
|
|
|
popd
|
|
|
|
pushd tests
|
|
|
|
npm install
|
|
|
|
popd
|
|
|
|
|
|
|
|
tar cJf node_modules.tar.xz \
|
|
|
|
yarn.lock \
|
|
|
|
node_modules \
|
2023-03-19 22:12:36 +01:00
|
|
|
tests/node_modules \
|
2023-02-07 10:48:04 +01:00
|
|
|
javascript/lib \
|
|
|
|
javascript/node_modules \
|
|
|
|
javascript/tsconfig.tsbuildinfo
|