17 lines
390 B
Makefile
17 lines
390 B
Makefile
clean:
|
|
rm -rf ./*-bili-sync-rs
|
|
|
|
build:
|
|
cargo build --target x86_64-unknown-linux-musl --release
|
|
|
|
build-docker: build
|
|
cp target/x86_64-unknown-linux-musl/release/bili-sync-rs ./Linux-x86_64-bili-sync-rs
|
|
docker build . -t bili-sync-rs-local --build-arg="TARGETPLATFORM=linux/amd64"
|
|
just clean
|
|
|
|
run:
|
|
cd ./web && bun run build && cd ..
|
|
cargo run
|
|
|
|
debug:
|
|
just run
|