Improve Arch Linux support in ext scripts
This commit is contained in:
parent
ccfe4beaa4
commit
b890c3bee2
3 changed files with 18 additions and 6 deletions
|
@ -1,7 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cd ~/.emacs.d/ext
|
source VARS
|
||||||
source ./VARS
|
|
||||||
|
|
||||||
#
|
#
|
||||||
echo "Setting up C# (omnisharp)"
|
echo "Setting up C# (omnisharp)"
|
||||||
|
|
|
@ -1,11 +1,23 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cd ~/.emacs.d/ext
|
source VARS
|
||||||
source ./VARS
|
|
||||||
|
|
||||||
#
|
#
|
||||||
echo "Setting up Rust"
|
echo "Setting up Rust"
|
||||||
|
|
||||||
|
case "$OSTYPE" in
|
||||||
|
darwin*)
|
||||||
|
brew install rust
|
||||||
|
;;
|
||||||
|
linux*)
|
||||||
|
if is-arch; then
|
||||||
|
sudo pacman --noconfirm -S rust cargo
|
||||||
|
elif is-deb; then
|
||||||
|
echo ...
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
esac
|
||||||
|
|
||||||
git-repo "https://github.com/rust-lang/rust.git" "rust"
|
git-repo "https://github.com/rust-lang/rust.git" "rust"
|
||||||
git-repo "https://github.com/phildawes/racer.git" "racer-src"
|
git-repo "https://github.com/phildawes/racer.git" "racer-src"
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cd ~/.emacs.d/ext
|
source VARS
|
||||||
source ./VARS
|
|
||||||
|
|
||||||
#
|
#
|
||||||
echo "Setting up zsh/bash (zshdb, bashdb)"
|
echo "Setting up zsh/bash (zshdb, bashdb)"
|
||||||
|
|
||||||
if is-mac; then
|
if is-mac; then
|
||||||
brew install zshdb bashdb
|
brew install zshdb bashdb
|
||||||
|
elif is-arch; then
|
||||||
|
sudo pacman --noconfirm -S zshdb bashdb
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue