2021-03-09 03:18:52 +00:00
|
|
|
#!/usr/bin/env nix-shell
|
|
|
|
#!nix-shell -I nixpkgs=../../../.. -i bash -p curl jq unzip
|
|
|
|
set -euf -o pipefail
|
|
|
|
|
|
|
|
declare scriptDir
|
|
|
|
scriptDir=$(cd "$(dirname "$0")"; pwd)
|
|
|
|
1>&2 echo "scriptDir='$scriptDir'"
|
|
|
|
|
2021-10-17 09:34:42 +00:00
|
|
|
. "$scriptDir/../_maintainers/update-bin-srcs-lib.sh"
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
declare extPublisher="ms-dotnettools"
|
|
|
|
declare extName="csharp"
|
2021-10-17 09:34:42 +00:00
|
|
|
declare defaultExtVersion="1.23.15"
|
2021-03-09 03:18:52 +00:00
|
|
|
declare extVersion="${1:-$defaultExtVersion}"
|
|
|
|
|
|
|
|
formatExtRuntimeDeps \
|
|
|
|
"$extPublisher" "$extName" "$extVersion" \
|
|
|
|
| computeAndAttachExtRtDepsChecksums \
|
|
|
|
| jqStreamToJson \
|
|
|
|
| tee "$scriptDir/rt-deps-bin-srcs.json" \
|
|
|
|
| jq '.'
|