Skip to content

Commit

Permalink
fix(vala-lanaguager-server): update meson build commands (#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers authored Jan 15, 2023
1 parent 18c1846 commit b61d7f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lua/mason-registry/vala-language-server/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ return Pkg.new {
git.clone { ("https://github.com/%s.git"):format(repo), version = Optional.of(source.tag) }

local install_dir = ctx.cwd:get()
ctx.spawn.meson { ("-Dprefix=%s"):format(install_dir), "build" }
ctx.spawn.ninja { "-C", "build", "install" }
ctx.spawn.meson { "setup", ("-Dprefix=%s"):format(install_dir), "build" }
ctx.spawn.meson { "compile", "-C", "build" }
ctx.spawn.meson { "install", "-C", "build" }
ctx:link_bin(
"vala-language-server",
path.concat { "bin", platform.is.win and "vala-language-server.exe" or "vala-language-server" }
Expand Down

0 comments on commit b61d7f1

Please sign in to comment.