Add basic keybinding for running tests (#147)
This commit is contained in:
parent
8bcb908d9e
commit
303367e32b
2 changed files with 13 additions and 4 deletions
7
.config/Code/User/keybindings.json
Normal file
7
.config/Code/User/keybindings.json
Normal 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",
|
||||||
|
}
|
||||||
|
]
|
10
macosx/up.sh
10
macosx/up.sh
|
@ -106,12 +106,14 @@ defaults write com.google.Keystone.Agent checkInterval 4233600
|
||||||
|
|
||||||
DIR="$DIR/../"
|
DIR="$DIR/../"
|
||||||
DIR=`realpath "$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
|
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" $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"
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue