Added ncc build to nodejs contracts. (#334)

This commit is contained in:
Ravin Perera
2021-07-22 12:38:02 +05:30
committed by GitHub
parent e48d0377cb
commit cdf3a73c7d
6 changed files with 32 additions and 23 deletions

View File

@@ -64,7 +64,7 @@ cmake ..
sudo make install
popd > /dev/null 2>&1
popd > /dev/null 2>&1
rm v1.0.3.tar.gz && rm -r readerwriterqueue-1.0.3
rm v1.0.3.tar.gz && sudo rm -r readerwriterqueue-1.0.3
# Concurrent queue
wget https://github.com/cameron314/concurrentqueue/archive/1.0.2.tar.gz
@@ -92,6 +92,12 @@ sudo apt-get install -y \
# jq command (needed for remote cluster scripts)
sudo apt-get install -y jq
# NodeJs
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
# ncc build utility for nodejs compiled builds.
npm i -g @vercel/ncc
# Update linker library cache.
sudo ldconfig