[Delete] build.lua file

pull/6/head v0.0.4
Mist 2024-02-21 19:31:57 +08:00
parent 2751875093
commit e41678165a
2 changed files with 1 additions and 21 deletions

View File

@ -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")

View File

@ -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"