mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-16 17:13:46 -05:00
16 lines
284 B
Bash
Executable File
16 lines
284 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# This is kind of like a shim that makes sure the frontend is rebuilt when running a build. For example you can run `./build.sh cargo build --release`
|
|
|
|
# Frontend
|
|
cd web/
|
|
|
|
# Build
|
|
bun run build
|
|
|
|
# Copy UI to src folder
|
|
cp -r dist/ ../src/static
|
|
|
|
# Run command from argv
|
|
|
|
$@ |