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

Commit

Permalink
Merge pull request #44 from jellyfish-dev/jellyfish
Browse files Browse the repository at this point in the history
Jellyfish refactor
  • Loading branch information
graszka22 authored Jun 22, 2023
2 parents 03aef35 + 2745f25 commit 11c50a6
Show file tree
Hide file tree
Showing 70 changed files with 693 additions and 818 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy Docs
on:
push:
tags:
- "*"
- "*"

jobs:
build:
Expand All @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3

- name: Build Docs
run: mkdir MembraneRTC/docs && xcodebuild docbuild -scheme MembraneRTC -destination generic/platform=iOS OTHER_DOCC_FLAGS="--transform-for-static-hosting --output-path docs --hosting-base-path membrane-webrtc-ios"
run: mkdir docs && rm -rf MembraneVideoroomDemo.xcodeproj MembraneVideoroomDemo.xcworkspace MembraneVideoroomDemo && xcodebuild docbuild -scheme MembraneRTC -destination generic/platform=iOS OTHER_DOCC_FLAGS="--transform-for-static-hosting --output-path docs --hosting-base-path membrane-webrtc-ios"

- name: Install coreutils
run: brew install coreutils
Expand All @@ -25,5 +25,5 @@ jobs:
env:
REPO: self
BRANCH: gh-pages
FOLDER: MembraneRTC/docs
FOLDER: docs
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/run_lint_and_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
run: cp Release.xcconfig Debug.xcconfig

- name: Run formatter
run: swift-format format -i -r ./MembraneRTC/Sources/**/*.swift --configuration swift-format-config.json
run: swift-format format -i -r ./Sources/**/*.swift --configuration swift-format-config.json

- name: Run lint
run: swift-format lint -r ./MembraneRTC/Sources/**/*.swift --configuration swift-format-config.json
run: swift-format lint -r ./Sources/**/*.swift --configuration swift-format-config.json

- name: Run tests
run: set -o pipefail && xcodebuild test -scheme MembraneVideoroomDemo -destination 'platform=iOS Simulator,name=iPhone 13,OS=16.2' -workspace 'MembraneVideoroomDemo.xcworkspace' -sdk iphonesimulator | xcbeautify
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ node_modules
build
docs
xcuserdata
Debug.xcconfig
Debug.xcconfig
.swiftpm
/.build
/Packages
DerivedData/
4 changes: 2 additions & 2 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
}
},
"hooks": {
"after:bump": "pod lib lint --allow-warnings",
"before:github:release": "pod trunk push --allow-warnings"
"after:bump": "pod lib lint",
"before:github:release": "pod trunk push"
},
"github": {
"release": true
Expand Down
7 changes: 3 additions & 4 deletions MembraneRTC.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,15 @@ Pod::Spec.new do |s|
s.ios.deployment_target = '13.0'
s.swift_version = '5.0'

s.source_files = 'MembraneRTC/Sources/MembraneRTC/**/*'
s.source_files = 'Sources/MembraneRTC/**/*'
s.dependency 'WebRTC-SDK', '104.5112.15'
s.dependency 'SwiftProtobuf'
s.dependency 'PromisesSwift'
s.dependency 'SwiftPhoenixClient', '~> 4.0.0'
s.dependency 'Logging'
s.dependency 'SwiftCollection'
s.dependency 'SwiftLogJellyfish', '1.5.2'
s.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' }

s.subspec "Broadcast" do |spec|
spec.source_files = "MembraneRTC/Sources/MembraneRTC/Media/BroadcastSampleSource.swift", "MembraneRTC/Sources/MembraneRTC/IPC/**/*.{h,m,mm,swift}"
spec.source_files = "Sources/MembraneRTC/Media/BroadcastSampleSource.swift", "Sources/MembraneRTC/IPC/**/*.{h,m,mm,swift}"
end
end
7 changes: 0 additions & 7 deletions MembraneRTC/.gitignore

This file was deleted.

This file was deleted.

31 changes: 0 additions & 31 deletions MembraneRTC/README.md

This file was deleted.

65 changes: 0 additions & 65 deletions MembraneRTC/Sources/MembraneRTC/MembraneRTCDelegate.swift

This file was deleted.

5 changes: 0 additions & 5 deletions MembraneRTC/Sources/MembraneRTC/MembraneRTCError.swift

This file was deleted.

19 changes: 0 additions & 19 deletions MembraneRTC/Sources/MembraneRTC/RTCEngineListener.swift

This file was deleted.

Loading

0 comments on commit 11c50a6

Please sign in to comment.