codesnap.nvim/makefile
2024-02-21 19:29:19 +08:00

13 lines
268 B
Makefile

build:
make build_preview_client
make build_server
make make_static_files
build_preview_client:
cd snap-client && npm install && npm run build
build_server:
cd snap-server && cargo build --release
make_static_files:
cp -r snap-client/build snap-server/public