0
0
Fork 0
mirror of https://git.verdigado.com/NB-Public/simple-wkd.git synced 2024-12-06 14:52:41 +01:00
simple-wkd/build-debian.sh
2024-10-26 13:55:37 +02:00

15 lines
321 B
Bash
Executable file

#!/bin/sh
apt install -y clang lld cargo
cp -R backend/* .
cargo build --release --target-dir ./build
mv ./build/release/simple-wkd simple-wkd-executable
apt install -y npm
cp -R website/* .
npm install -g pnpm && \
pnpm install && \
pnpm astro telemetry disable && \
pnpm run build
mv dist assets/webpage