summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-06-27 16:12:13 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-27 16:12:13 +0200
commit811338d058749081d3faf9e4cd9bfbf1a97a83a9 (patch)
tree5417f3afa0cc434b6836e4e288db25e9f9500995
parentc46b694c342da3c1b4e2bb4394ff2886b9bd44f1 (diff)
downloadbugzilla-811338d058749081d3faf9e4cd9bfbf1a97a83a9.tar.gz
bugzilla-811338d058749081d3faf9e4cd9bfbf1a97a83a9.tar.xz
no bug - Add VS Code task configuration file
-rw-r--r--.vscode/tasks.json45
-rw-r--r--README.rst6
2 files changed, 51 insertions, 0 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 000000000..c15d7a457
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,45 @@
+{
+ // See https://go.microsoft.com/fwlink/?LinkId=733558
+ // for the documentation about the tasks.json format
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "Vagrant: Start Local Server",
+ "type": "shell",
+ "command": "vagrant up",
+ "group": "none",
+ "problemMatcher": []
+ },
+ {
+ "label": "Vagrant: Suspend Local Server",
+ "type": "shell",
+ "command": "vagrant suspend",
+ "group": "none",
+ "problemMatcher": []
+ },
+ {
+ "label": "Vagrant: Update Local Server",
+ "type": "shell",
+ "command": "vagrant rsync && vagrant provision --provision-with update",
+ "group": {
+ "kind": "build",
+ "isDefault": true
+ },
+ "problemMatcher": []
+ },
+ {
+ "label": "Vagrant: Force Update Local Server",
+ "type": "shell",
+ "command": "vagrant rsync && vagrant provision",
+ "group": "build",
+ "problemMatcher": []
+ },
+ {
+ "label": "Vagrant: Update Perl Dependencies",
+ "type": "shell",
+ "command": "vagrant ssh web -c bmo-refresh-bundle",
+ "group": "none",
+ "problemMatcher": []
+ }
+ ]
+}
diff --git a/README.rst b/README.rst
index d8986fc73..985be314e 100644
--- a/README.rst
+++ b/README.rst
@@ -80,6 +80,12 @@ or db is changed, do a full provision:
vagrant rsync && vagrant provision
+If you are using Visual Studio Code, these tasks are available from the editor's
+`Tasks menu`_. The update command can be run by simply hitting `Ctrl+Shift+B` on
+Windows/Linux or `Command+Shift+B` on macOS.
+
+.. _`Tasks menu`: https://code.visualstudio.com/docs/editor/tasks
+
Testing Auth delegation
-----------------------