Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2 from spotify/readme-title
Browse files Browse the repository at this point in the history
Smaller refactoring
  • Loading branch information
fabriziodemaria authored Feb 8, 2023
2 parents ccf50b9 + c762db5 commit 1103a58
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 29 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ on:
- 'main'

jobs:
test:
Tests:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- name: Build and Test
run: swift test

swiftlint:
SwiftLint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ let package = Package(
name: "OpenFeature",
platforms: [
.iOS(.v14),
.macOS(.v12)
.macOS(.v12),
],
products: [
.library(
name: "OpenFeature",
targets: ["OpenFeature"])
targets: ["OpenFeature"]),
],
dependencies: [
],
Expand All @@ -23,6 +23,6 @@ let package = Package(
),
.testTarget(
name: "OpenFeatureTests",
dependencies: ["OpenFeature"])
dependencies: ["OpenFeature"]),
]
)
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# OpenFeature
# OpenFeature Swift SDK

Swift implementation of the OpenFeature SDK.

Expand Down Expand Up @@ -34,11 +34,11 @@ let value = client.getBooleanValue(key: "flag", defaultValue: false)

## Development

Open the project in XCode and build by Product -> Build.
Open the project in Xcode and build by Product -> Build.

### Linting code

Code is automatically linted during build in XCode, if you need to manually lint:
Code is automatically linted during build in Xcode, if you need to manually lint:
```shell
brew install swiftlint
swiftlint
Expand Down
13 changes: 0 additions & 13 deletions scripts/run_tests.sh

This file was deleted.

8 changes: 0 additions & 8 deletions scripts/swift-lint

This file was deleted.

0 comments on commit 1103a58

Please sign in to comment.