parent
2751875093
commit
e41678165a
|
@ -1,20 +0,0 @@
|
||||||
local codesnap = require("codesnap")
|
|
||||||
local snap_client_cwd = codesnap.cwd .. "/snap-client"
|
|
||||||
local snap_server_cwd = codesnap.cwd .. "/snap-server"
|
|
||||||
|
|
||||||
-- Build preview client
|
|
||||||
os.execute(
|
|
||||||
"cd "
|
|
||||||
.. snap_client_cwd
|
|
||||||
.. " && "
|
|
||||||
.. "npm i "
|
|
||||||
.. " && "
|
|
||||||
.. "npm run build"
|
|
||||||
.. " && "
|
|
||||||
.. "mv ./build "
|
|
||||||
.. snap_server_cwd
|
|
||||||
.. "/public"
|
|
||||||
)
|
|
||||||
|
|
||||||
-- Build server
|
|
||||||
os.execute("cd " .. snap_server_cwd .. " && " .. "cargo build --release")
|
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "codesnap.nvim"
|
name = "codesnap.nvim"
|
||||||
version = "0.0.3"
|
version = "0.0.4"
|
||||||
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"
|
||||||
|
|
Loading…
Reference in New Issue