From 6cade3f6d8ad7bb5a11b1910689b25f709c12502 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 24 Aug 2018 13:41:25 +0300 Subject: Runnig tests somehow --- code/package.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'code/package.json') diff --git a/code/package.json b/code/package.json index 20a6ceee7..1ed9dfabe 100644 --- a/code/package.json +++ b/code/package.json @@ -28,6 +28,28 @@ "onLanguage:rust" ], "contributes": { + "taskDefinitions": [ + { + "type": "cargo", + "required": [ + "command" + ], + "properties": { + "label": { + "type": "string" + }, + "command": { + "type": "string" + }, + "args": { + "type": "array" + }, + "env": { + "type": "object" + } + } + } + ], "commands": [ { "command": "libsyntax-rust.syntaxTree", @@ -48,6 +70,10 @@ { "command": "libsyntax-rust.joinLines", "title": "Rust Join Lines" + }, + { + "command": "libsyntax-rust.run", + "title": "Rust Run" } ], "keybindings": [ -- cgit v1.2.3