add packaging script
All checks were successful
Backend Actions / check (push) Successful in 15s
Backend Actions / build (push) Successful in 26s
Backend Actions / test (push) Successful in 37s

This commit is contained in:
2025-07-25 00:40:04 +01:00
parent 50cee580de
commit 16d72f40ce
2 changed files with 18 additions and 0 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
.env
package/
package.tar.zst

16
package.sh Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
mkdir package
pushd backend
cargo build --release
cp -v target/release/nuchat ../package/
popd
pushd ui
pnpm run build
cp -rv .output ../package/ui
popd
tar -cf - package/ | zstd -19 -T0 -o package.tar.zst