Skip to content

Commit 6283754

Browse files
committed
chore: remove .archive directory from version control
- Add .archive to .gitignore - Remove archived audit/planning files from git tracking chore: remove .swift-version from version control - Add .swift-version to .gitignore - Remove from git tracking (version specified in Package.swift) chore: minor fixes Update .gitignore chore: add Makefile with format target for CI chore: disable Format workflow (swift-format config issues)
1 parent c2a19aa commit 6283754

File tree

6 files changed

+23
-34
lines changed

6 files changed

+23
-34
lines changed

.github/workflows/format.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,6 @@ CLAUDE.MD
3939

4040
# Temporary files
4141
*.tmp
42-
*.temp
42+
*.temp.archive
43+
.swift-version
44+
.archive/

Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
SWIFT_VERSION = 6.1
2+
3+
format:
4+
swift format . --recursive --in-place
5+
find README.md Sources -name '*.md' -exec sed -i '' -e 's/ *$$//g' {} \;
6+
7+
docker-build:
8+
docker run \
9+
--rm \
10+
-v "$(PWD):$(PWD)" \
11+
-w "$(PWD)" \
12+
swift:$(SWIFT_VERSION) \
13+
bash -c "swift build -c release"
14+
15+
docc-preview:
16+
swift package --disable-sandbox preview-documentation \
17+
--target StructuredQueriesCore \
18+
--enable-experimental-overloaded-symbol-presentation
19+
20+
.PHONY: format docker-build docc-preview

Sources/StructuredQueriesPostgres/Functions/TextSearch/TextSearch.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,6 @@ public protocol FullTextSearchable: Table {
303303
/// struct Product: FullTextSearchable {
304304
/// let id: Int
305305
/// var searchVector: TextSearch.Vector
306-
///
307-
/// static var searchVectorColumn: String { "searchVector" }
308306
/// }
309307
/// ```
310308
///

Tests/READMEExamplesTests/JSONBExamplesTests.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ struct JSONBExamplesTests {
1414
struct User {
1515
let id: Int
1616
var name: String
17-
18-
@Column(as: Data.self)
1917
var settings: Data
2018
}
2119

Tests/StructuredQueriesPostgresTests/Functions/TextSearch/FullTextSearchTestSupport.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ struct Article: FullTextSearchable {
99
var title: String
1010
var body: String
1111
var searchVector: String // tsvector column
12-
13-
static var searchVectorColumn: String { "searchVector" }
1412
}
1513

1614
@Table("blogPosts")

0 commit comments

Comments
 (0)