forked from jasder/antlr
18 lines
391 B
Bash
Executable File
18 lines
391 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
# use v14 and check
|
|
echo "installing nodejs..."
|
|
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
|
|
sudo apt-get install -y nodejs
|
|
echo node version: $(node --version)
|
|
echo "done installing nodejs..."
|
|
|
|
echo "packaging javascript runtime..."
|
|
pushd runtime/JavaScript
|
|
sudo npm install
|
|
sudo npm link
|
|
popd
|
|
echo "done packaging javascript runtime"
|