Skip to content

Commit a59de21

Browse files
authored
Tuist Preview setup
Tuist preview setup WIP
2 parents 7eec757 + 219541f commit a59de21

File tree

5 files changed

+44
-6
lines changed

5 files changed

+44
-6
lines changed

.github/workflows/icy_sky.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: IcySky
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
build:
15+
name: Build IcySky
16+
runs-on: macos-15
17+
timeout-minutes: 50
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: jdx/mise-action@v2
21+
- name: Select Xcode
22+
run: sudo xcode-select -switch /Applications/Xcode_16.1.app
23+
- name: Skip Xcode Macro Fingerprint Validation
24+
run: defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES
25+
- name: Build IcySky
26+
run: xcodebuild -scheme IcySky -destination 'platform=iOS Simulator,name=iPhone 16' -configuration "Debug" build
27+
- name: Share IcySky
28+
run: mise x -- tuist share IcySky --configuration Debug --platforms ios
29+
env:
30+
TUIST_CONFIG_TOKEN: ${{ secrets.TUIST_CONFIG_TOKEN }}

.mise.toml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tools]
2+
tuist = "4.35.0"

Packages/Features/Sources/FeedUI/List/FeedsListView.swift

+5-6
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,12 @@ public struct FeedsListView: View {
2727
headerView
2828
.listRowSeparator(.hidden)
2929

30-
if let error {
31-
errorView
32-
} else {
33-
ForEach(feeds) { feed in
34-
FeedRowView(feed: feed)
35-
}
30+
errorView
31+
32+
ForEach(feeds) { feed in
33+
FeedRowView(feed: feed)
3634
}
35+
3736
}
3837
.listStyle(.plain)
3938
.navigationBarTitleDisplayMode(.inline)

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# IcySky
22

3+
[![Tuist Preview](https://tuist.dev/Dimillian/IcySky/previews/latest/badge.svg)](https://tuist.dev/Dimillian/IcySky/previews/latest)
4+
35
GlowSky, RetroSky, IcySky, and maybe more...
46

57
Very early SwiftUI Bluesky client.

Tuist.swift

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import ProjectDescription
2+
3+
let config = Config(
4+
fullHandle: "Dimillian/IcySky"
5+
)

0 commit comments

Comments
 (0)