Rewrite ext setup scripts + module-cc irony path
This commit is contained in:
parent
a1b0db0b07
commit
483bdb79ee
4 changed files with 60 additions and 25 deletions
|
@ -1,13 +1,22 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
cd ~/.emacs.d/ext
|
||||
source ./VARS
|
||||
source VARS
|
||||
|
||||
#
|
||||
echo "Setting up JS (tern/trepanjs)"
|
||||
|
||||
if is-mac; then
|
||||
brew install node
|
||||
fi
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue