1+ {
2+ "id" : " 599b994d-c4e1-4e74-b58e-0cd3006e5aac" ,
3+ "name" : " PlistPatch" ,
4+ "friendlyName" : " Patch Plist Files" ,
5+ "description" : " Patch Plist files using JSON patch syntax" ,
6+ "helpMarkDown" : " [More Information](https://github.com/geeklearningio/gl-vsts-tasks-file-patch/wiki/Patch-Plist-Files) (Version #{Version}#)" ,
7+ "category" : " Utility" ,
8+ "visibility" : [
9+ " Build" ,
10+ " Release"
11+ ],
12+ "author" : " Geek Learning" ,
13+ "version" : {
14+ "Major" : 0 ,
15+ "Minor" : 0 ,
16+ "Patch" : 0
17+ },
18+ "demands" : [
19+ " npm"
20+ ],
21+ "minimumAgentVersion" : " 1.91.0" ,
22+ "instanceNameFormat" : " Patch files $(PlistTargetFilters)" ,
23+ "inputs" : [
24+ {
25+ "name" : " SyntaxType" ,
26+ "type" : " pickList" ,
27+ "label" : " Syntax type" ,
28+ "defaultValue" : " Standard" ,
29+ "required" : true ,
30+ "helpMarkDown" : " The syntax used for the patch content. See documentation for more information." ,
31+ "options" : {
32+ "standard" : " Standard Syntax" ,
33+ "slick" : " Slick Syntax"
34+ }
35+ },
36+ {
37+ "name" : " PlistWorkingDir" ,
38+ "type" : " filePath" ,
39+ "label" : " Patch working directory" ,
40+ "defaultValue" : " " ,
41+ "required" : true ,
42+ "helpMarkDown" : " Working directory. Example: $(Build.SourcesDirectory)"
43+ },
44+ {
45+ "name" : " PlistTargetFilters" ,
46+ "type" : " multiLine" ,
47+ "label" : " Target files" ,
48+ "defaultValue" : " " ,
49+ "required" : true ,
50+ "helpMarkDown" : " Patch target file. Example: appsettings*.plist"
51+ },
52+ {
53+ "name" : " PlistPatchContent" ,
54+ "type" : " multiLine" ,
55+ "label" : " Patch Content" ,
56+ "defaultValue" : " " ,
57+ "required" : true ,
58+ "helpMarkDown" : " Patch content." ,
59+ "properties" : {
60+ "resizable" : " true" ,
61+ "rows" : " 10" ,
62+ "maxLength" : " 5000"
63+ }
64+ },
65+ {
66+ "name" : " OutputPatchFile" ,
67+ "type" : " boolean" ,
68+ "label" : " Output patched file in logs" ,
69+ "defaultValue" : " false" ,
70+ "helpMarkDown" : " Output patched file in logs"
71+ }
72+ ],
73+ "execution" : {
74+ "Node" : {
75+ "target" : " plistPatch.js" ,
76+ "argumentFormat" : " "
77+ }
78+ }
79+ }
0 commit comments