summaryrefslogtreecommitdiffstats
path: root/testing/resources/swift_hooks_repo/.pre-commit-hooks.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-03-24 21:59:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-03-24 21:59:15 +0000
commit63fad53303381388673073de580a32088a4ef0fe (patch)
treea2c5c329ee5e79a220fac7e079283235fecc0cda /testing/resources/swift_hooks_repo/.pre-commit-hooks.yaml
parentInitial commit. (diff)
downloadpre-commit-39afacd55039f430bde0818a76282e3979e47595.tar.xz
pre-commit-39afacd55039f430bde0818a76282e3979e47595.zip
Adding upstream version 2.2.0.upstream/2.2.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/resources/swift_hooks_repo/.pre-commit-hooks.yaml')
-rw-r--r--testing/resources/swift_hooks_repo/.pre-commit-hooks.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/resources/swift_hooks_repo/.pre-commit-hooks.yaml b/testing/resources/swift_hooks_repo/.pre-commit-hooks.yaml
new file mode 100644
index 0000000..c08df87
--- /dev/null
+++ b/testing/resources/swift_hooks_repo/.pre-commit-hooks.yaml
@@ -0,0 +1,6 @@
+- id: swift-hooks-repo
+ name: Swift hooks repo example
+ description: Runs the hello world app generated by swift package init --type executable (binary called swift_hooks_repo here)
+ entry: swift_hooks_repo
+ language: swift
+ files: \.(swift)$