1
0
Fork 0

[Feat] add build script

feature/custom-highlight-themes 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] [project]
name = "codesnap.nvim" name = "codesnap.nvim"
version = "0.0.2" version = "0.0.3"
description = "Make pretty code snapshot just one command" description = "Make pretty code snapshot just one command"
author = "Mist" author = "Mist"
email = "mist.zzh@gmail.com" email = "mist.zzh@gmail.com"