Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ensure target artifact directory exists in build-native.cmd, and update parameters in remote calls from build-local-package.cmd to build properly and copy to expected place #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build-local-package.cmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@setlocal
@echo off

call .\build-native.cmd Release x86
call .\build-native.cmd Release x64
call .\build-native.cmd Release win-x86 --artifact-name build\Release\win-x86\libveldrid-spirv.dll
call .\build-native.cmd Release win-x64 --artifact-name build\Release\win-x64\libveldrid-spirv.dll
call dotnet pack -c Release src\Veldrid.SPIRV\Veldrid.SPIRV.csproj
1 change: 1 addition & 0 deletions build-native.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ cmake --build . --config %_CMAKE_BUILD_TYPE% --target veldrid-spirv
popd

if defined _ARTIFACT_NAME (
For %%A in ("%_ARTIFACT_NAME%") do (mkdir %%~dpA)
echo "Copying %_ARTIFACT_SRC% -> %_ARTIFACT_NAME%"
copy %_ARTIFACT_SRC% %_ARTIFACT_NAME%
)
Expand Down