blob: d1f3bbfda0155f6d5242e54693f6bbdce6faa142 (
plain)
1
2
3
4
|
#!/bin/sh
depsjson="$(find "$1" -name '*.deps.json')"
patched="$(jq '.targets.".NETCoreApp,Version=v8.0"."Djup.Native/1.0.0" += {"runtimeTargets": {"runtimes/linux-x64/native/libdjup.so": {"rid": "linux-x64", "assetType": "native"} }}' "$depsjson")"
echo -n "$patched" > "$depsjson"
|