mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Rewrite ext setup scripts + module-cc irony path
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user