You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone git@github.com:eclipse/theia-cpp-extension.git theia-cpp-extension-cq && cd theia-cpp-extension-cq
yarn install --production
# find node_modules folders other than the main one in the root
npmlist=`find . -name node_modules | grep -v "^./node_modules"`
# Find the extensions where a Debug Adapter is Downloaded/used (defined in an "adapters" section in package.json)
grep "\"adapters" `find packages -name package.json`
# if there are changes, update list below
# list of the path where the Adapters are saved:
# note: this assumes each DA is in "unzipped" form. It it's not the case, we need to unzip it/them manually so it/they will be analysed correctly when submitted as part of the CQ.
DAlist="./packages/cortex-debug/download ./packages/cpp-debug/download"
# result: root npm_modules folder as well as any other we find elsewhere in the repo. Also we include the
# Debug Adapters that are used as plugins:
tar czvf theia-npm-prod-dependencies.tar.gz ./node_modules $npmlist $DAlist