最后活跃于 1708409994

Init all slns

修订 21e69d15a37c2ba26bfb2f35322d5b030f241635

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