summaryrefslogtreecommitdiffstats
path: root/testing/resources/lua_repo
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-21 19:59:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-21 19:59:08 +0000
commit20ff60e9f0e8528b00b03e036fa3d41743d53dfa (patch)
tree7baccf4096b08411ca191790015c7f6c835a85c7 /testing/resources/lua_repo
parentAdding upstream version 2.16.0. (diff)
downloadpre-commit-upstream/2.17.0.tar.xz
pre-commit-upstream/2.17.0.zip
Adding upstream version 2.17.0.upstream/2.17.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/resources/lua_repo')
-rw-r--r--testing/resources/lua_repo/.pre-commit-hooks.yaml4
-rwxr-xr-xtesting/resources/lua_repo/bin/hello-world-lua3
-rw-r--r--testing/resources/lua_repo/hello-dev-1.rockspec15
3 files changed, 22 insertions, 0 deletions
diff --git a/testing/resources/lua_repo/.pre-commit-hooks.yaml b/testing/resources/lua_repo/.pre-commit-hooks.yaml
new file mode 100644
index 0000000..767ef97
--- /dev/null
+++ b/testing/resources/lua_repo/.pre-commit-hooks.yaml
@@ -0,0 +1,4 @@
+- id: hello-world-lua
+ name: hello world lua
+ entry: hello-world-lua
+ language: lua
diff --git a/testing/resources/lua_repo/bin/hello-world-lua b/testing/resources/lua_repo/bin/hello-world-lua
new file mode 100755
index 0000000..2a0e002
--- /dev/null
+++ b/testing/resources/lua_repo/bin/hello-world-lua
@@ -0,0 +1,3 @@
+#!/usr/bin/env lua
+
+print('hello world')
diff --git a/testing/resources/lua_repo/hello-dev-1.rockspec b/testing/resources/lua_repo/hello-dev-1.rockspec
new file mode 100644
index 0000000..82486e0
--- /dev/null
+++ b/testing/resources/lua_repo/hello-dev-1.rockspec
@@ -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"}
+ },
+}