Skip to content

Commit

Permalink
last fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
leogdion committed Aug 27, 2024
1 parent 489e206 commit 419ea26
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .spi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1
builder:
configs:
- documentation_targets: [Ngrokit, Sublimation, SublimationVapor]
- documentation_targets: [SublimationBonjour]
16 changes: 8 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ let swiftSettings: [SwiftSetting] = [
SwiftSetting.enableUpcomingFeature("FullTypedThrows"),
SwiftSetting.enableUpcomingFeature("InternalImportsByDefault"),

SwiftSetting.unsafeFlags([
"-Xfrontend",
"-warn-long-function-bodies=100"
]),
SwiftSetting.unsafeFlags([
"-Xfrontend",
"-warn-long-expression-type-checking=100"
])
// SwiftSetting.unsafeFlags([
// "-Xfrontend",
// "-warn-long-function-bodies=100"
// ]),
// SwiftSetting.unsafeFlags([
// "-Xfrontend",
// "-warn-long-expression-type-checking=100"
// ])
]

let package = Package(
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
</p>
<h1 align="center">SublimationBonjour</h1>

Use Bonjour for automatic discovery of your Swift Server.
Use [Bonjour](https://developer.apple.com/bonjour/) for [Sublimation](https://github.com/brightdigit/Sublimation) for automatic discovery of your [Swift Server](https://www.swift.org/documentation/server/).

[![](https://img.shields.io/badge/docc-read_documentation-blue)](https://swiftpackageindex.com/brightdigit/SublimationBonjour/documentation)
[![SwiftPM](https://img.shields.io/badge/SPM-Linux%20%7C%20iOS%20%7C%20macOS%20%7C%20watchOS%20%7C%20tvOS-success?logo=swift)](https://swift.org)
[![Twitter](https://img.shields.io/badge/[email protected]?style=flat)](http://twitter.com/brightdigit)
![GitHub](https://img.shields.io/github/license/brightdigit/SublimationBonjour)
Expand All @@ -21,7 +22,6 @@ Use Bonjour for automatic discovery of your Swift Server.
[![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/brightdigit/SublimationBonjour)](https://codeclimate.com/github/brightdigit/SublimationBonjour)
[![Code Climate technical debt](https://img.shields.io/codeclimate/tech-debt/brightdigit/SublimationBonjour?label=debt)](https://codeclimate.com/github/brightdigit/SublimationBonjour)
[![Code Climate issues](https://img.shields.io/codeclimate/issues/brightdigit/SublimationBonjour)](https://codeclimate.com/github/brightdigit/SublimationBonjour)
[![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)

# Table of Contents

Expand All @@ -31,6 +31,7 @@ Use Bonjour for automatic discovery of your Swift Server.
* [Usage](#usage)
* [Setting up your Server](#setting-up-your-server)
* [Setting up your Client](#setting-up-your-client)
* [Documentation](#documentation)
* [License](#license)

<!-- Created by https://github.com/ekalinin/github-markdown-toc -->
Expand Down Expand Up @@ -77,9 +78,7 @@ The iPhone or Apple Watch then uses a `BonjourClient` to fetch either an `Async

## Installation

Sublimation has two components: Server and Client. You can check out the SublimationDemoApp Xcode project for an example.

To integrate **Sublimation** into your app using SPM, specify it in your Package.swift file:
To integrate **SublimationBonjour** into your app using SPM, specify it in your Package.swift file:

```swift
let package = Package(
Expand Down Expand Up @@ -147,6 +146,10 @@ let client = BonjourClient(logger: app.logger)
let hostURL = await client.first()
```

## Documentation

To learn more, check out the full [documentation](https://swiftpackageindex.com/brightdigit/SublimationBonjour/documentation).

# License

This code is distributed under the MIT license. See the [LICENSE](https://github.com/brightdigit/SublimationBonjour/LICENSE) file for more info.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ``SublimationBonjour``

Use Bonjour for automatic discovery of your Swift Server.
Use [Bonjour](https://developer.apple.com/bonjour/) for [Sublimation](https://github.com/brightdigit/Sublimation) for automatic discovery of your [Swift Server](https://www.swift.org/documentation/server/).

## Overview

Expand Down

0 comments on commit 419ea26

Please sign in to comment.