echo" --restore Restore projects required to build"
echo" --build Build all projects"
echo" --pack Build prerelease nuget packages"
echo" --packall Build all nuget packages"
echo" --test Run unit tests"
echo" --mono Run unit tests with mono"
echo" --build-bootstrap Build the bootstrap compilers"
...
...
@@ -32,6 +34,8 @@ build_configuration=Debug
restore=false
build=false
test_=false
pack=false
pack_all=false
use_mono=false
build_bootstrap=false
use_bootstrap=false
...
...
@@ -93,6 +97,13 @@ do
--stop-vbcscompiler)
stop_vbcscompiler=true
;;
--pack)
pack=true
;;
--packall)
pack_all=true
pack=true
;;
*)
echo"$1"
usage
...
...
@@ -109,6 +120,32 @@ mkdir -p ${binaries_path}
mkdir-p${config_path}
mkdir-p${logs_path}
function pack_all_kind(){
pushd"${root_path}/src/NuGet"
echo Packing $1
local nupkg_path="${config_path}/NuGet/PreRelease"
local nuspec_files=("Microsoft.CodeAnalysis.CSharp.nuspec""Microsoft.CodeAnalysis.Compilers.nuspec""Microsoft.CodeAnalysis.VisualBasic.nuspec""Microsoft.CodeAnalysis.Common.nuspec""Microsoft.NETCore.Compilers.nuspec")