[Feat] add build script

pull/4/head v0.0.3
Mist 2024-02-21 19:27:20 +08:00
parent 02e45fa23a
commit 5d830bd4f3
2 changed files with 14 additions and 1 deletions

13
makefile Normal file
View File

@ -0,0 +1,13 @@
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

View File

@ -1,6 +1,6 @@
[project]
name = "codesnap.nvim"
version = "0.0.2"
version = "0.0.3"
description = "Make pretty code snapshot just one command"
author = "Mist"
email = "mist.zzh@gmail.com"