2 files changed, 10 insertions, 0 deletions
diff --git a/scripts/fetchdeps.sh b/scripts/fetchdeps.sh
new file mode 100755
index 0000000..a93ff53
--- /dev/null
+++ b/scripts/fetchdeps.sh
@@ -0,0 +1,5 @@
+#! /usr/bin/env sh
+for p in `nix flake show --json | jq '.packages."x86_64-linux" | keys[]' -r`
+do
+ nix build .\#${p}.passthru.fetch-deps && ./result ./${p//-/\.}/deps.json
+done
diff --git a/scripts/publish.sh b/scripts/publish.sh
new file mode 100755
index 0000000..ac59da0
--- /dev/null
+++ b/scripts/publish.sh
@@ -0,0 +1,5 @@
+nom build .\#nugetArtifactDir.x86_64-linux -j4 -L
+for p in ./result/*.nupkg; do
+ echo "Pushing $p to NuGet..."
+ dotnet nuget push "$p" -k ${NUGET_KEY} --source https://api.nuget.org/v3/index.json --skip-duplicate
+done
\ No newline at end of file
|