Skip to content

Commit 16d9df3

Browse files
committed
Initial commit
0 parents  commit 16d9df3

File tree

10 files changed

+482
-0
lines changed

10 files changed

+482
-0
lines changed

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: kean
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: macos-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Build
17+
run: swift build -v
18+
- name: Run tests
19+
run: swift test -v

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.DS_Store
2+
/.build
3+
/Packages
4+
/*.xcodeproj
5+
xcuserdata/

.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# SwiftSQL 0.x
2+
3+
## SwiftSQL 0.1.0
4+
5+
*May 12, 2020*
6+
7+
- Initial version

Package.swift

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// swift-tools-version:5.1
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "SwiftSQL",
8+
platforms: [
9+
.macOS(.v10_13),
10+
.iOS(.v11),
11+
.tvOS(.v11),
12+
.watchOS(.v4)
13+
],
14+
products: [
15+
// Products define the executables and libraries produced by a package, and make them visible to other packages.
16+
.library(
17+
name: "SwiftSQL",
18+
targets: ["SwiftSQL"]),
19+
],
20+
targets: [
21+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
22+
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
23+
.target(
24+
name: "SwiftSQL"
25+
),
26+
.testTarget(
27+
name: "SwiftSQLTests",
28+
dependencies: ["SwiftSQL"]),
29+
]
30+
)

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<p align="left">
2+
<img src="https://img.shields.io/badge/platforms-iOS%2C%20macOS%2C%20watchOS%2C%20tvOS-lightgrey.svg">
3+
<img src="https://github.com/kean/SwiftSQL/workflows/CI/badge.svg">
4+
</p>
5+
6+
**SwiftSQL** is a micro framework that introduces a Swift API for [SQLite](https://www.sqlite.org/index.html). Unlike many other frameworks, it doesn't have any ORM-like features, or any overhead whatsover. It is, however, feature-complete, fully documented, tested, and it offers a better programming exeprience compared to using C APIs.
7+
8+
<br/>
9+
10+
# Usage
11+
12+
# Minimum Requirements
13+
14+
| SwiftSQL | Swift | Xcode | Platforms |
15+
|---------------|-----------------|-----------------|---------------------------------------------------|
16+
| SwiftSQL 0.1 | Swift 5.2 | Xcode 11.3 | iOS 11.0 / watchOS 4.0 / macOS 10.13 / tvOS 11.0 |
17+
18+
# License
19+
20+
SwiftSQL is available under the MIT license. See the LICENSE file for more info.
21+

0 commit comments

Comments
 (0)