1 Star 1 Fork 0

dark_liu/Microsoft.Maui.Graphics

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.sh 657 Bytes
一键复制 编辑 原始数据 按行查看 历史
Rui Marinho 提交于 2022-03-23 17:41 . Try update install workloads
#!/usr/bin/env bash
# script inspired by https://andrewlock.net/simplifying-the-cake-global-tool-bootstrapper-scripts-in-netcore3-with-local-tools/
# Define default arguments.
SCRIPT="build.cake"
CAKE_ARGUMENTS=()
# Parse arguments.
for i in "$@"; do
case $1 in
-s|--script) SCRIPT="$2"; shift ;;
--) shift; CAKE_ARGUMENTS+=("$@"); break ;;
*) CAKE_ARGUMENTS+=("$1") ;;
esac
shift
done
# Restore Cake tool
dotnet tool restore
if [ $? -ne 0 ]; then
echo "An error occured while installing Cake."
exit 1
fi
echo "${CAKE_ARGUMENTS[@]}"
# Start Cake
dotnet tool run dotnet-cake "$SCRIPT" "${CAKE_ARGUMENTS[@]}"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/dark_liu/Microsoft.Maui.Graphics.git
[email protected]:dark_liu/Microsoft.Maui.Graphics.git
dark_liu
Microsoft.Maui.Graphics
Microsoft.Maui.Graphics
main

搜索帮助