Add basic keybinding for running tests (#147)

This commit is contained in:
Cyryl Płotnicki 2017-11-01 09:04:00 +00:00 committed by GitHub
parent 8bcb908d9e
commit 303367e32b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 4 deletions

View file

@ -0,0 +1,7 @@
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+shift+r",
"command": "workbench.action.tasks.test",
}
]

View file

@ -106,12 +106,14 @@ defaults write com.google.Keystone.Agent checkInterval 4233600
DIR="$DIR/../"
DIR=`realpath "$DIR"`
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"
ln -vfs "$DIR/.config/Code/User/keybindings.json.mac" "$HOME/Library/Application Support/Code/User/keybindings.json"
if [[ -z $CONTINUOUS_INTEGRATION ]]; then
echo "Invoking common configuration scripts"
DIR="$DIR" $DIR/common/configure_fresh_system.sh
fi
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"