Spaces:
Runtime error
Runtime error
Download scripts/build-static.bat from npisb/pipecountapp-dev: direct link, hf CLI and curl.
- Browser
- Download file 279 Bytes
-
https://huggingface.co/spaces/npisb/pipecountapp-dev/resolve/main/scripts/build-static.bat
- Command line
-
hf download hf://spaces/npisb/pipecountapp-dev/scripts/build-static.bat
-
curl -L -o build-static.bat https://huggingface.co/spaces/npisb/pipecountapp-dev/resolve/main/scripts/build-static.bat
279 Bytes
| @echo off | |
| cd /d %~dp0frontend | |
| call npm run build | |
| cd /d %~dp0 | |
| if exist static rmdir /s /q static | |
| mkdir static | |
| xcopy /E /I /Y frontend\dist\* static\ | |
| xcopy /E /I /Y frontend\public\models static\models\ | |
| copy /Y frontend\public\icon.svg static\icon.svg | |
| echo Build copied to static/ | |