Dernière activité 1708409994

Init all slns

Révision 34414ec0ef82b53a84fc8a3152c95d5c68afeabc

init.sh Brut
1rm *.sln
2
3dotnet new sln
4
5find . -name *.csproj | xargs -I {} dotnet sln add {}
6
7find . -name *.csproj | xargs -I {} dotnet publish {} -r win-x64 -c Release --self-contained
8
9
10# Push all
11for dir1 in ./*; do
12 if [ -d "$dir1" ]; then
13 cd "$dir1"
14 for dir2 in ./*; do
15 if [ -d "$dir2" ]; then
16 cd "$dir2"
17 git add .
18 git commit -m "Fix manhours badge link"
19 git push
20 cd ..
21 fi
22 done
23 # 返回到原始目录
24 cd ..
25 fi
26done
27