Add naive and untested version of Lua language support.

This commit is contained in:
Matt Layman 2021-12-12 01:57:54 -05:00 committed by Anthony Sottile
parent 7a305e5d9a
commit 3f8be7400d
13 changed files with 286 additions and 2 deletions

View file

@ -0,0 +1,4 @@
- id: hello-world-lua
name: hello world lua
entry: hello-world-lua
language: lua

View file

@ -0,0 +1,3 @@
#!/usr/bin/env lua
print('hello world')

View file

@ -0,0 +1,15 @@
package = "hello"
version = "dev-1"
source = {
url = "git+ssh://git@github.com/pre-commit/pre-commit.git"
}
description = {}
dependencies = {}
build = {
type = "builtin",
modules = {},
install = {
bin = {"bin/hello-world-lua"}
},
}