This repository has been archived by the owner on Nov 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtask.json
90 lines (90 loc) · 2.15 KB
/
task.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"id": "f69ee420-8fbc-11e5-ad0f-5179c6bde7c1",
"name": "Rake",
"friendlyName": "Rake",
"description": "Build using Rake (for Ruby and Rails)",
"author": "James Carscadden",
"helpMarkDown": "This task will run the rake task specified",
"category": "Build",
"visibility": [
"Build"
],
"demands": [
"ruby"
],
"version": {
"Major": "0",
"Minor": "1",
"Patch": "4"
},
"minimumAgentVersion": "1.83.0",
"instanceNameFormat": "Rake $(command)",
"groups": [
{
"name": "advanced",
"displayName": "Advanced",
"isExpanded": false
}
],
"inputs": [
{
"name": "command",
"type": "string",
"label": "Tasks",
"defaultValue": "db:migrate",
"required": true,
"helpMarkDown": "The Rake task(s) to run"
},
{
"name": "rakefile",
"type": "filePath",
"label": "Rake file",
"defaultValue": "Rakefile",
"required": false,
"helpMarkDown": "Path to the rake file.",
"groupName": "advanced"
},
{
"name": "rakelib",
"type": "filePath",
"label": "Rake lib directory",
"defaultValue": "rakelib",
"required": false,
"helpMarkDown": "Directory path to auto-import any .rake files.",
"groupName": "advanced"
},
{
"name": "usebundle",
"type": "boolean",
"label": "Use bundle exec",
"defaultValue": "true",
"required": false,
"helpMarkDown": "Whether to use bundle exec to run rake or not",
"groupName": "advanced"
},
{
"name": "dbconnection",
"type": "string",
"label": "Database connection",
"defaultValue": "",
"required": false,
"helpMarkDown": "This will set the ENV['DATABASE_URL'] variable",
"groupName": "advanced"
},
{
"name": "railsenvironment",
"type": "string",
"label": "Rails environment",
"defaultValue": "",
"required": false,
"helpMarkDown": "This will set the ENV['RAILS_ENV'] variable",
"groupName": "advanced"
}
],
"execution": {
"Node": {
"target": "rake.js",
"argumentFormat": ""
}
}
}