Changing native out flag to output flag to match compiler. Also changing the rsp file spliting to handle both /r/n and /r
Fixing the input path to the native compiler. It was adding /native to it before. Switching compile native to System.CommandLine for args parsing and removing quotes from -native.rsp. Fixing build_appdeps.cmd: Removed the * from __ApPDepSDK as xcopy does not honor that. In order to stay independent of the version of appDep, we CD into the appDepSDK and then navigate to the first folder we find, which should always be one, as we clear the folder before restoring appDep, after that we xcopy
This commit is contained in:
parent
9fbf7a7995
commit
d0100335da
4 changed files with 125 additions and 114 deletions
|
@ -12,10 +12,20 @@ pushd %1
|
|||
set __OutputPath=%CD%\bin
|
||||
popd
|
||||
|
||||
|
||||
rmdir /S /Q %AppDepsProjectDir%\packages
|
||||
|
||||
pushd %__AppDepsProjectDir%
|
||||
dotnet restore --packages %AppDepsProjectDir%\packages
|
||||
set __AppDepSDK=%AppDepsProjectDir%\packages\toolchain*\*\
|
||||
set __AppDepSDK=%AppDepsProjectDir%\packages\toolchain*\
|
||||
popd
|
||||
|
||||
mkdir %__OutputPath%\appdepsdk
|
||||
xcopy /S/E/H/Y %__AppDepSDK% %__OutputPath%\appdepsdk
|
||||
cd %__AppDepSDK%
|
||||
FOR /D %%a IN (*) DO (
|
||||
CD %%a
|
||||
GOTO :Copy
|
||||
)
|
||||
|
||||
:Copy
|
||||
xcopy /S/E/H/Y * %__OutputPath%\appdepsdk
|
Loading…
Add table
Add a link
Reference in a new issue