From 48a6c21db718a986dac24f56f8341b842c2e1a13 Mon Sep 17 00:00:00 2001 From: "Emma@Rory&" Date: Mon, 14 Aug 2023 09:32:37 +0200 Subject: Update dependencies --- LibMatrix | 2 +- .../MatrixRoomUtils.Desktop.csproj | 14 +++++++------- .../MatrixRoomUtils.Web.Server.csproj | 2 +- MatrixRoomUtils.Web/MatrixRoomUtils.Web.csproj | 4 ++-- mkdeps | 20 ++++++++++++++------ 5 files changed, 25 insertions(+), 17 deletions(-) diff --git a/LibMatrix b/LibMatrix index 8fdc48e..15d2ed6 160000 --- a/LibMatrix +++ b/LibMatrix @@ -1 +1 @@ -Subproject commit 8fdc48e5b21b1eea61534b181585858727500f34 +Subproject commit 15d2ed6a992619b72ffd692a37e93f53ae948ab7 diff --git a/MatrixRoomUtils.Desktop/MatrixRoomUtils.Desktop.csproj b/MatrixRoomUtils.Desktop/MatrixRoomUtils.Desktop.csproj index e6a8169..4dc9558 100644 --- a/MatrixRoomUtils.Desktop/MatrixRoomUtils.Desktop.csproj +++ b/MatrixRoomUtils.Desktop/MatrixRoomUtils.Desktop.csproj @@ -20,13 +20,13 @@ - - - - + + + + - - + + @@ -36,7 +36,7 @@ - + diff --git a/MatrixRoomUtils.Web.Server/MatrixRoomUtils.Web.Server.csproj b/MatrixRoomUtils.Web.Server/MatrixRoomUtils.Web.Server.csproj index a647a2f..f89a603 100644 --- a/MatrixRoomUtils.Web.Server/MatrixRoomUtils.Web.Server.csproj +++ b/MatrixRoomUtils.Web.Server/MatrixRoomUtils.Web.Server.csproj @@ -7,7 +7,7 @@ - + diff --git a/MatrixRoomUtils.Web/MatrixRoomUtils.Web.csproj b/MatrixRoomUtils.Web/MatrixRoomUtils.Web.csproj index e6580e9..a351b5f 100644 --- a/MatrixRoomUtils.Web/MatrixRoomUtils.Web.csproj +++ b/MatrixRoomUtils.Web/MatrixRoomUtils.Web.csproj @@ -9,8 +9,8 @@ - - + + diff --git a/mkdeps b/mkdeps index e6bea58..eb39592 100755 --- a/mkdeps +++ b/mkdeps @@ -4,7 +4,7 @@ projects=( MatrixRoomUtils.Web ) -find . | grep -E '(bin|obj)$' | while read d; do rm -rf $d & done +find . | grep -E '(bin|obj)$' | while read -r d; do rm -rf "$d" & done wait execDir=$(pwd) @@ -12,12 +12,20 @@ execDir=$(pwd) for p in $projects do ( - cd $p + set -euo pipefail + cd "$p" || exit pwd - MSBUILDLIVELOGGER=false dotnet restore --packages=packages -v n --ucr - #dotnet --list-sdks - ${execDir}/nuget-to-nix.sh packages | tee deps.nix - #where nuget-to-nix + MSBUILDLIVELOGGER=false dotnet restore --packages=packages -v n --ucr || exit 1 + + #for blazor: https://globalcdn.nuget.org/packages/microsoft.netcore.app.runtime.mono.browser-wasm.7.0.10.nupkg +# if [ -f wwwroot/index.html ]; then +# curl -L https://globalcdn.nuget.org/packages/microsoft.netcore.app.runtime.mono.browser-wasm.7.0.10.nupkg -o Microsoft.NETCore.App.Runtime.Mono.browser-wasm.7.0.10.nupkg +# mkdir -p packages/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/7.0.10 +# unzip -d packages/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/7.0.10 Microsoft.NETCore.App.Runtime.Mono.browser-wasm.7.0.10.nupkg +# rm Microsoft.NETCore.App.Runtime.Mono.browser-wasm.7.0.10.nupkg +# fi + + "${execDir}"/nuget-to-nix.sh packages | tee deps.nix pwd du -sh packages rm -rf packages -- cgit 1.4.1