doomemacs/ext/setup-js.sh
2016-10-11 13:21:14 +02:00

23 lines
341 B
Bash
Executable File

#!/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 --noconfirm -S nodejs npm
else
echo "..."
exit 1
fi
;;
esac
npm -g install trepanjs tern