Skip to content

Commit

Permalink
ci: compile apps against local code to find issues faster
Browse files Browse the repository at this point in the history
After a recent merge into main, compiling of apps broke. Makes sense because of a recent breaking change introduced in the code! However, apps should not fail after merge on main. It should always be passing. This commit changes from branch reference to local path reference when compiling apps.

commit-id:f4efed4b
  • Loading branch information
levibostian committed May 6, 2024
1 parent 159833c commit d8aa5eb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion app/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.xcodeproj/
*.xcworkspace/
*.xcworkspace/
Podfile.lock
2 changes: 1 addition & 1 deletion app/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
target :App do
use_frameworks!

pod 'Wendy', :git => 'https://github.com/levibostian/Wendy-iOS.git', :branch => 'latest'
pod 'Wendy', :path => '../../'
end
2 changes: 1 addition & 1 deletion app/ios/Source/WendyTaskRunner.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation
import Wendy

public class MyWendyTaskRunner: WendyTaskRunnerConcurrency {
public class MyWendyTaskRunner: WendyTaskRunner {
public func runTask(tag: String, data: Data?) async throws {
// Sleep for 2 seconds to simulate a network request
try await Task.sleep(nanoseconds: 500000000)
Expand Down
4 changes: 2 additions & 2 deletions app/ios/project-spm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ include:

packages:
Wendy:
url: https://github.com/levibostian/Wendy-iOS.git
branch: latest # To verify that the latest changes are always compilable. Dont lock to a specific version.
url: https://github.com/levibostian/Wendy-iOS.git
path: ../../
targets:
App:
dependencies:
Expand Down

0 comments on commit d8aa5eb

Please sign in to comment.