blob: b577e030d26f99d204811664f25b04ac0ba215c3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/env nix-shell
#!nix-shell -i "bash -x" -p bash nuget-to-nix
find . | grep -E '(bin|obj)$' | while read d; do rm -rf $d & done
wait
MSBUILDLIVELOGGER=false dotnet restore --packages=packages -v n --ucr
nuget-to-nix packages | tee deps.nix
du -sh packages
rm -rf packages
nix flake update
git add deps.nix flake.lock
|