gpu-dawn: dev: add Windows support for release bundling/upload
Helps hexops/mach#86 Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
d7eebaa645
commit
ba0c0c9354
2 changed files with 14 additions and 4 deletions
|
|
@ -18,7 +18,11 @@ popd
|
|||
gzip -9 headers.json
|
||||
|
||||
# Copy the binary into the out/ directory
|
||||
cp zig-out/lib/libdawn.a out/
|
||||
if [[ "${WINDOWS:-"false"}" == "true" ]]; then
|
||||
cp zig-out/lib/dawn.lib out/
|
||||
else
|
||||
cp zig-out/lib/libdawn.a out/
|
||||
fi
|
||||
|
||||
# Create out.tar.gz bundle
|
||||
pushd out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue