Move ext/* to scripts/

This commit is contained in:
Henrik Lissner 2017-01-16 23:13:12 -05:00
parent e8438e11e5
commit 83c852e11f
7 changed files with 0 additions and 0 deletions

22
scripts/setup-js.sh Executable file
View file

@ -0,0 +1,22 @@
#!/usr/bin/env bash
source VARS
#
echo "Setting up JS (tern/trepanjs)"
case "$OSTYPE" in
darwin*)
brew install node
;;
linux*)
if is-arch; then
sudo pacman --needed --noconfirm -S nodejs npm
else
echo "..."
exit 1
fi
;;
esac
npm -g install trepanjs tern