Merge pull request #2709 from pre-commit/test-lua

test lua directly
This commit is contained in:
Anthony Sottile 2023-01-18 00:12:28 -05:00 committed by GitHub
commit 50848aaca2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 58 additions and 53 deletions

View file

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

View file

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

View file

@ -1,15 +0,0 @@
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"}
},
}