feat: adopt marqdo 3.0.0-rc.4 public analysis boundary
This commit is contained in:
1 parent
769550b14b
commit
fe18df6c4b
74 files changed
+7618
-5368
No files matched your search
@@ -8,8 +8,17 @@ export CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-"$ROOT/.cache/marqdo-lint-release-ta
|
||||
export TMPDIR=${TMPDIR:-"$ROOT/.cache/tmp"}
|
||||
|
||||
mkdir -p "$TMPDIR" "$DEST/bin"
|
||||
python3 - "$ROOT/tool.json" <<'PYCHECK'
|
||||
import json, sys
|
||||
value = json.load(open(sys.argv[1]))
|
||||
assert value["schema"] == "marqdo.cli-tool" and value["schema_version"] == 1
|
||||
assert value["requires"] == {"api_revision": 1, "analysis": 3}
|
||||
assert "compatibility" not in value
|
||||
PYCHECK
|
||||
cargo build --locked --release --manifest-path "$ROOT/Cargo.toml"
|
||||
install -m 755 "$CARGO_TARGET_DIR/release/marqdo-lint" "$DEST/bin/marqdo-lint"
|
||||
cp "$ROOT/tool.json" "$DEST/tool.json"
|
||||
sha256sum "$DEST/bin/marqdo-lint"
|
||||
printf 'tool.json sha256: '
|
||||
sha256sum "$DEST/tool.json" | awk '{print $1}'
|
||||
printf 'Tool bundle: %s\n' "$DEST"
|
||||
Reference in new issue
Block a user