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