1
0
Fork 0
codesnap.nvim/makefile

15 lines
341 B
Makefile
Raw Normal View History

2024-02-21 11:27:20 +00:00
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
cp -r snap-client/node_modules/highlight.js/styles/ snap-server/public/