Move ext/* to scripts/
This commit is contained in:
parent
e8438e11e5
commit
83c852e11f
7 changed files with 0 additions and 0 deletions
22
scripts/setup-js.sh
Executable file
22
scripts/setup-js.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue