forked from pool/python-jupyter-ydoc
20 lines
431 B
Bash
20 lines
431 B
Bash
|
#!/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
|
||
|
|
||
|
pushd javascript
|
||
|
yarn
|
||
|
yarn build
|
||
|
popd
|
||
|
|
||
|
tar cJf node_modules.tar.xz \
|
||
|
node_modules \
|
||
|
javascript/lib \
|
||
|
javascript/tsconfig.tsbuildinfo
|