tool: require exact current contracts without negotiation
This commit is contained in:
1 parent
8bfe0c36ee
commit
f83d992c61
16 files changed
+229
-366
No files matched your search
@@ -12,7 +12,7 @@ marqdo tool remove benchmark
|
||||
```
|
||||
|
||||
The executable receives the remaining arguments verbatim, inherits stdio/cwd,
|
||||
and its exit code is propagated. `MARQDO_TOOL_PROTOCOL=1` and `MARQDO_BIN` are
|
||||
and its exit code is propagated. `MARQDO_API_REVISION=1` and `MARQDO_BIN` are
|
||||
provided for tools that need `check --emit`/`run --trace-file`.
|
||||
|
||||
A Tool is a user-run native process. It is **not** a C ABI plugin, a foreign
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# A deliberately tool-specific program: the Marqdo CLI knows no `benchmark`
|
||||
# command or its options.
|
||||
printf 'benchmark tool: protocol=%s\n' "${MARQDO_TOOL_PROTOCOL:-unset}"
|
||||
printf 'benchmark tool: protocol=%s\n' "${MARQDO_API_REVISION:-unset}"
|
||||
for argument in "$@"; do
|
||||
printf 'arg=%s\n' "$argument"
|
||||
done
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"version": "0.1.0",
|
||||
"command": "benchmark",
|
||||
"entrypoint": "bin/marqdo-benchmark",
|
||||
"compatibility": {
|
||||
"marqdo": ">=3.0.0-beta.1,<4.0.0"
|
||||
"requires": {
|
||||
"api_revision": 1
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user