mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-29 03:29:25 -05:00
added test for swift hook
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
.DS_Store
|
||||
/.build
|
||||
/Packages
|
||||
/*.xcodeproj
|
||||
@@ -0,0 +1,5 @@
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "swift_hooks_repo"
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
print("Hello, world!")
|
||||
@@ -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)$
|
||||
Reference in New Issue
Block a user