add lua-format (#417)

pull/422/head
ruki 4 years ago committed by GitHub
parent a88288b594
commit 163215ad3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      packages/l/lua-format/xmake.lua

@ -0,0 +1,16 @@
package("lua-format")
set_kind("binary")
set_homepage("https://github.com/Koihik/LuaFormatter")
set_description("Code formatter for Lua")
add_urls("https://github.com/Koihik/LuaFormatter.git")
add_versions("1.3.5", "638ec8a7c114a0082ce60481afe8f46072e427e5")
add_deps("cmake")
on_install("@linux", "@macosx", "@windows", "@bsd", "@msys", function (package)
local configs = {"-DBUILD_TESTS=OFF", "-DCOVERAGE=OFF"}
import("package.tools.cmake").install(package, configs)
end)
on_test(function (package)
os.run("lua-format --help")
end)
Loading…
Cancel
Save