Skip to content

Commit

Permalink
Add vscode tasks (#383)
Browse files Browse the repository at this point in the history
* Remove extra line

* bumping versions

* add vscode tasks
  • Loading branch information
aggFTW authored Jul 12, 2017
1 parent 554e16c commit 8a5f139
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,4 @@ target/
.idea/*
MANIFEST
.vscode/*
!.vscode/tasks.json
75 changes: 75 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
// vscode tasks to easily run things.
// Ctrl + Shift + B to bring tasks up and select one
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "cmd",
"isShellCommand": true,
"showOutput": "silent",
"args": ["/C"],

"tasks": [
{
"taskName": "go to github",
"suppressTaskName": true,
"isBuildCommand": true,
"args": ["start https://github.com/jupyter-incubator/sparkmagic"]
},
{
"taskName": "docker build",
"suppressTaskName": true,
"isBuildCommand": true,
"args": ["docker-compose build"]
},
{
"taskName": "docker-compose up",
"suppressTaskName": true,
"isBuildCommand": false,
"isTestCommand": true,
"args": ["docker-compose up -d && start http://localhost:8888"]
},
{
"taskName": "docker-compose down",
"suppressTaskName": true,
"isBuildCommand": false,
"isTestCommand": true,
"args": ["docker-compose down"]
},
{
"taskName": "test all",
"suppressTaskName": true,
"isBuildCommand": false,
"isTestCommand": true,
"args": ["nosetests autovizwidget hdijupyterutils sparkmagic"]
},
{
"taskName": "test autovizwidget",
"suppressTaskName": true,
"isBuildCommand": false,
"isTestCommand": true,
"args": ["nosetests autovizwidget"]
},
{
"taskName": "test hdijupyterutils",
"suppressTaskName": true,
"isBuildCommand": false,
"isTestCommand": true,
"args": ["nosetests hdijupyterutils"]
},
{
"taskName": "test sparkmagic",
"suppressTaskName": true,
"isBuildCommand": false,
"isTestCommand": true,
"args": ["nosetests sparkmagic"]
},
{
"taskName": "test file",
"suppressTaskName": true,
"isBuildCommand": false,
"isTestCommand": true,
"args": ["nosetests --nocapture ${file}"]
}
]
}

0 comments on commit 8a5f139

Please sign in to comment.