mirror of
https://github.com/mistricky/codesnap.nvim.git
synced 2024-12-27 03:46:29 +00:00
[Delete] build.lua file
This commit is contained in:
parent
2751875093
commit
e41678165a
2 changed files with 1 additions and 21 deletions
|
@ -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 a new issue