[Delete] build.lua file

This commit is contained in:
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"