Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
10 lines
271 B
Bash
10 lines
271 B
Bash
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
cd /project && npm install && npm run build-${ARCH:=64}
|
|
|
|
if [ -d "/build/vulhub-app-win32-x64" ] || [ -d "/build/vulhub-app-win32-ia32" ]; then
|
|
tar -zcvf /build/vulhub-app.tar.gz /build/vulhub-app-win32-*
|
|
rm -rf /build/vulhub-app-win32-*
|
|
fi |