Addressing code review comments and fixing another issue with deb installer generation.
This commit is contained in:
parent
4510d9803c
commit
8eb05a4deb
4 changed files with 10 additions and 17 deletions
|
@ -3,6 +3,10 @@
|
|||
|
||||
<UsingTask TaskName="DebTargets" AssemblyFile="$(CLIBuildDll)" />
|
||||
|
||||
<PropertyGroup>
|
||||
<CLISDKRoot>$(LayoutDirectory)/$(ArtifactNameSdk)/sdk</CLISDKRoot>
|
||||
</PropertyGroup>
|
||||
|
||||
<Target Name="GenerateDebs" >
|
||||
<DebTargets />
|
||||
</Target>
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
#
|
||||
|
||||
param(
|
||||
[string]$Architecture="x64")
|
||||
|
||||
$RepoRoot = "$PSScriptRoot"
|
||||
|
||||
# Load Branch Info
|
||||
cat "$RepoRoot\branchinfo.txt" | ForEach-Object {
|
||||
if(!$_.StartsWith("#") -and ![String]::IsNullOrWhiteSpace($_)) {
|
||||
|
|
|
@ -34,7 +34,7 @@ else
|
|||
$env:DOTNET_BUILD_SKIP_PACKAGING=0
|
||||
}
|
||||
|
||||
& "$RepoRoot\init-tools.ps1"
|
||||
& "$RepoRoot\init-tools.ps1" -Architecture $Architecture
|
||||
if($LASTEXITCODE -ne 0) { throw "Failed to install Init Tools" }
|
||||
|
||||
dotnet build3 build.proj /p:Architecture=$Architecture
|
||||
|
|
16
run-build.sh
16
run-build.sh
|
@ -55,22 +55,6 @@ while [[ $# > 0 ]]; do
|
|||
shift
|
||||
done
|
||||
|
||||
# Set up the environment to be used for building with clang.
|
||||
if which "clang-3.5" > /dev/null 2>&1; then
|
||||
export CC="$(which clang-3.5)"
|
||||
export CXX="$(which clang++-3.5)"
|
||||
elif which "clang-3.6" > /dev/null 2>&1; then
|
||||
export CC="$(which clang-3.6)"
|
||||
export CXX="$(which clang++-3.6)"
|
||||
elif which clang > /dev/null 2>&1; then
|
||||
export CC="$(which clang)"
|
||||
export CXX="$(which clang++)"
|
||||
else
|
||||
error "Unable to find Clang Compiler"
|
||||
error "Install clang-3.5 or clang3.6"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Load Branch Info
|
||||
while read line; do
|
||||
if [[ $line != \#* ]]; then
|
||||
|
|
Loading…
Reference in a new issue