1 Star 1 Fork 0

Ocean/corefx

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.sh 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env bash
usage()
{
echo
echo "There are new changes on how we build. Use this script only for generic"
echo "build instructions that apply for both build native and build managed."
echo "Otherwise:"
echo
echo "Before Now"
echo "build.sh native build-native.sh"
echo "build.sh managed build-managed.sh"
echo
echo "For more information: https://github.com/dotnet/corefx/blob/master/Documentation/project-docs/developer-guide.md"
echo "----------------------------------------------------------------------------"
echo
echo
}
if [ "$1" == "-?" ]; then
usage
fi
__scriptpath=$(cd "$(dirname "$0")"; pwd -P)
__workingDir=$(pwd -P)
if [ "$1" != "" ]; then
if [ -d $__workingDir/$1 ]; then
$__scriptpath/run.sh build-directory -directory:$__workingDir/$*
exit $?
fi
if [ -d $__scriptpath/src/$1 ]; then
$__scriptpath/run.sh build-directory -directory:$__scriptpath/$*
exit $?
fi
fi
"$__scriptpath/build-native.sh" $*
if [ $? -ne 0 ];then
exit 1
fi
"$__scriptpath/build-managed.sh" -BuildPackages=true $*
exit $?
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/oceanho/corefx.git
git@gitee.com:oceanho/corefx.git
oceanho
corefx
corefx
master

搜索帮助