mirror of
https://github.com/mistricky/codesnap.nvim.git
synced 2024-12-26 11:26:30 +00:00
[Feat] add build script
This commit is contained in:
parent
02e45fa23a
commit
5d830bd4f3
2 changed files with 14 additions and 1 deletions
13
makefile
Normal file
13
makefile
Normal 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
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue