mirror of
https://github.com/ethauvin/bld.git
synced 2025-04-26 08:37:11 -07:00
Added support for generating bld output as JSON so that it can be consumed by other tools.
Added wrapper support for local Maven repository bld snapshots. Updated version to 2.0.0-SNAPSHOT.
This commit is contained in:
parent
177a2e39af
commit
793efb27ce
13 changed files with 295 additions and 90 deletions
|
@ -1 +1 @@
|
|||
1.9.2-SNAPSHOT
|
||||
2.0.0-SNAPSHOT
|
3
src/main/resources/templates/bld/executor_error.json
Normal file
3
src/main/resources/templates/bld/executor_error.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"error": "{{v error-message/}}"
|
||||
}
|
8
src/main/resources/templates/bld/executor_execute.json
Normal file
8
src/main/resources/templates/bld/executor_execute.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"commands": {{{v commands}}{{/v}}{{b command}}{{v separator/}}
|
||||
"{{v command/}}": {
|
||||
"out": "{{v out/}}",
|
||||
"err": "{{v err/}}"
|
||||
}{{/b}}
|
||||
}
|
||||
}
|
6
src/main/resources/templates/bld/help_commands.json
Normal file
6
src/main/resources/templates/bld/help_commands.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
{{v error}}{{/v}}{{b error}}"error": "{{v error-message/}}",
|
||||
{{/b}}"commands": {{{v commands}}{{/v}}{{b command}}{{v separator/}}
|
||||
"{{v command/}}": "{{v summary/}}"{{/b}}
|
||||
}
|
||||
}
|
5
src/main/resources/templates/bld/help_description.json
Normal file
5
src/main/resources/templates/bld/help_description.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"description": {
|
||||
"{{v command/}}": "{{v description/}}"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue