Skip to content

Commit

Permalink
[Feat] add build script
Browse files Browse the repository at this point in the history
  • Loading branch information
mistricky committed Feb 21, 2024
1 parent 02e45fa commit 5d830bd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion project.toml
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]"

0 comments on commit 5d830bd

Please sign in to comment.