Fix Appdeps scripts

This commit is contained in:
Bryan 2015-11-17 23:42:27 -08:00
parent 0b59d3cd8e
commit ad56a28c56
2 changed files with 11 additions and 4 deletions

View file

@ -5,7 +5,9 @@ REM The AppDepSDK package is a temporary artifact until we have CoreRT assemblie
set __ScriptDir=%~dp0
set __RepoRoot=%__ScriptDir%\..\..
set __AppDepsProjectDir=%__RepoRoot%\Microsoft.DotNet.Tools.Compiler.Native\appdep
set __AppDepsProjectDir=%__RepoRoot%\src\Microsoft.DotNet.Tools.Compiler.Native\appdep
set PATH=%RepoRoot%\artifacts\win7-x64\stage0\bin;%PATH%
REM Get absolute path
pushd %1

View file

@ -4,8 +4,12 @@
# The AppDepSDK package is a temporary artifact until we have CoreRT assemblies published to Nuget
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $SCRIPT_DIR/../_common.sh
export PATH=$REPOROOT/artifacts/$RID/stage0/bin:$PATH
REPO_ROOT="$SCRIPT_DIR/../.."
APPDEPS_PROJECT_DIR=%REPO_ROOT%\Microsoft.DotNet.Tools.Compiler.Native\appdep
APPDEPS_PROJECT_DIR=$REPO_ROOT/src/Microsoft.DotNet.Tools.Compiler.Native/appdep
# Get Absolute Output Dir
pushd $1
@ -14,8 +18,9 @@ popd
## App Deps ##
pushd $APPDEPS_PROJECT_DIR
dotnet restore --packages $APPDEPS_PROJECT_DIR\packages
APPDEP_SDK=$APPDEPS_PROJECT_DIR\packages\toolchain*\*\
dotnet restore --packages $APPDEPS_PROJECT_DIR/packages
APPDEP_SDK=$APPDEPS_PROJECT_DIR/packages/toolchain*/*/
popd
mkdir -p $OUTPUT_DIR/appdepsdk