VSCode settings for mac (#98)

This commit is contained in:
Cyryl Płotnicki 2017-05-14 18:16:26 +01:00 committed by GitHub
parent e84bd54150
commit ac0a2dbc20
2 changed files with 18 additions and 4 deletions

View file

@ -0,0 +1,11 @@
{
"window.zoomLevel": 1,
"extensions.autoUpdate": true,
"editor.cursorStyle": "block",
"rust.rustLangSrcPath": "/Users/cyryl/dev/rust/src",
"rust.racerPath": "/Users/cyryl/.cargo/bin/racer",
"rust.rustfmtPath": "/Users/cyryl/.cargo/bin/rustfmt",
"rust.rustsymPath": "/Users/cyryl/.cargo/bin/rustsym",
"rust.cargoPath": "/Users/cyryl/.cargo/bin/cargo",
"rust.cargoHome": "/Users/cyryl/.cargo/"
}

View file

@ -10,7 +10,6 @@ set -e
brew update brew update
brew upgrade brew upgrade
echo "Installing basic console utils"
brew install vim brew install vim
brew install aria2 brew install aria2
brew install \ brew install \
@ -47,9 +46,9 @@ brew install --force \
pinentry-mac \ pinentry-mac \
socat \ socat \
unrar \ unrar \
wget wget \
fontconfig
echo "Installing programmming tools"
brew install \ brew install \
carthage \ carthage \
cmake \ cmake \
@ -88,9 +87,13 @@ echo "Configuring NVRAM"
sudo nvram SystemAudioVolume=%80 sudo nvram SystemAudioVolume=%80
DIR="$DIR/../" DIR="$DIR/../"
DIR=`realpath "$DIR"`
if [[ -z $CONTINUOUS_INTEGRATION ]]; then if [[ -z $CONTINUOUS_INTEGRATION ]]; then
echo "Invoking common configuration scripts" echo "Invoking common configuration scripts"
DIR="$DIR" $DIR/common/configure_fresh_system.sh DIR="$DIR" $DIR/common/configure_fresh_system.sh
fi fi
ln -vfs "$DIR/.gitconfig.mac" ~/.gitconfig ln -vfs "$DIR/.gitconfig.mac" $HOME/.gitconfig
mkdir -p "$HOME/Library/Application Support/Code/User/"
ln -vfs "$DIR/.config/Code/User/settings.json.mac" "$HOME/Library/Application Support/Code/User/settings.json"