1 Star 0 Fork 0

吉良吉影/MoreLINQ

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.sh 909 Bytes
一键复制 编辑 原始数据 按行查看 历史
Atif Aziz 提交于 2024-12-28 21:26 +08:00 . Update .NET SDK to 9, including dependencies
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")"
export MSBUILDTERMINALLOGGER=off
dotnet restore
dotnet tool restore
codegen() {
dest="$1"
printf "Generating extensions wrappers (%s)..." "$1"
shift
dotnet build bld/ExtensionsGenerator/MoreLinq.ExtensionsGenerator.csproj -c Release >build.log || (
printf "Failed!\n"
cat build.log
rm build.log
exit 1
)
dotnet bld/ExtensionsGenerator/bin/Release/MoreLinq.ExtensionsGenerator.dll "$@" > "$dest"
printf "Done.\n"
}
codegen MoreLinq/Extensions.g.cs -x "[/\\\\]ToDataTable\.cs$" -u System.Linq -u System.Collections MoreLinq
codegen MoreLinq/Extensions.ToDataTable.g.cs -i "[/\\\\]ToDataTable\.cs$" -u System.Data -u System.Linq.Expressions MoreLinq
MoreLinq/tt.sh
if [[ -z "$1" ]]; then
configs="Debug Release"
else
configs="$1"
fi
for c in $configs; do
dotnet build --no-restore -c $c
done
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hopefsharp/MoreLINQ.git
git@gitee.com:hopefsharp/MoreLINQ.git
hopefsharp
MoreLINQ
MoreLINQ
master

搜索帮助