Skip to content

Commit

Permalink
Merge branch 'release/v0.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-pod committed Sep 29, 2023
2 parents 53b3836 + 760f737 commit d4b809e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 20 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.

### Removed
- Drop support for Swift 5.3, we now use `@resultBuilder` instead of `@_functionBuilder`
- Drop support for Carthage

## [0.1.0] - 2021-04-28

Expand Down
13 changes: 2 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ CompositionalLayoutDSL is a Swift library. It makes easier to create composition
- [Getting started](#getting-started)
- [Installation](#installation)
- [CocoaPods](#cocoapods)
- [Carthage](#carthage)
- [Swift Package Manager](#swift-package-manager)
- [Credits](#credits)
- [Behind the scene](#behind-the-scene)
Expand Down Expand Up @@ -118,23 +117,15 @@ collectionView.collectionViewLayout = LayoutBuilder {

To integrate `CompositionalLayoutDSL` into your Xcode project using CocoaPods, specify it in your Podfile:
```
pod 'CompositionalLayoutDSL', '~> 0.1.0'
```

### Carthage

To integrate `CompositionalLayoutDSL` into your Xcode project using Carthage, specify it in your `Cartfile`:

```
github "faberNovel/CompositionalLayoutDSL" ~> 0.1.0
pod 'CompositionalLayoutDSL', '~> 0.2.0'
```

### Swift Package Manager

`CompositionalLayoutDSL` can be installed as a Swift Package with Xcode 11 or higher. To install it, add a package using Xcode or a dependency to your Package.swift file:

```swift
.package(url: "https://github.com/faberNovel/CompositionalLayoutDSL")
.package(url: "https://github.com/faberNovel/CompositionalLayoutDSL", from: "0.2.0")
```

## Behind the scene
Expand Down
10 changes: 1 addition & 9 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,21 +91,13 @@ lane :publish_release do
section_identifier: "[#{target_version}]"
)

carthage(command: "build", no_skip_current: true)
carthage(
frameworks: ["CompositionalLayoutDSL"],
output: "CompositionalLayoutDSL.framework.zip",
command: "archive"
)

set_github_release(
repository_name: ENV["REPO"],
api_bearer: ENV["GITHUB_TOKEN"],
name: "v#{target_version}",
tag_name: "v#{target_version}",
description: changelog,
commitish: "main",
upload_assets: ["CompositionalLayoutDSL.framework.zip"]
commitish: "main"
)

pod_push(allow_warnings: true)
Expand Down

0 comments on commit d4b809e

Please sign in to comment.