-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [#63] Added support for installation via CocoaPods (#64) * [#65] Removed redundant Linux test manifest (#66) * Updated `import`s in tests * Updated docs title in Jazzy configuration
- Loading branch information
Showing
18 changed files
with
98 additions
and
104 deletions.
There are no files selected for viewing
16 changes: 12 additions & 4 deletions
16
.github/workflows/spm-ci.yml → .github/workflows/run-tests.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,28 @@ | ||
name: SPM CI | ||
name: Run Tests | ||
|
||
on: [pull_request, push] | ||
|
||
jobs: | ||
macos-test: | ||
|
||
spm-macos-test: | ||
runs-on: macos-11.0 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Select Xcode version | ||
run: sudo xcode-select -switch /Applications/Xcode_12.5.app | ||
- name: Run tests | ||
run: swift test -v | ||
|
||
linux-test: | ||
spm-linux-test: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run tests | ||
run: swift test -v | ||
|
||
cocoapods-podspec-lint: | ||
runs-on: macos-11.0 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Lint Podspec | ||
run: pod lib lint --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,9 @@ | |
// | ||
|
||
import XCTest | ||
#if !COCOAPODS | ||
import YMFFProtocols | ||
#endif | ||
|
||
@testable import YMFF | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,9 @@ | |
// | ||
|
||
import YMFF | ||
#if !COCOAPODS | ||
import YMFFProtocols | ||
#endif | ||
|
||
// MARK: - Shared | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
Pod::Spec.new do |s| | ||
|
||
# Basic Info | ||
|
||
s.name = "YMFF" | ||
s.version = "2.1.0" | ||
s.summary = "Feature management made easy." | ||
|
||
s.description = <<-DESC | ||
YMFF is a nice little library that makes management of features | ||
with feature flags—and management of the feature flags themselves—a bliss. | ||
DESC | ||
|
||
s.homepage = "https://github.com/yakovmanshin/YMFF" | ||
s.documentation_url = "https://opensource.ym.dev/YMFF/" | ||
|
||
s.license = { :type => "Apache License, version 2.0", :file => "LICENSE" } | ||
|
||
s.author = { "Yakov Manshin" => "[email protected]" } | ||
s.social_media_url = "https://github.com/yakovmanshin" | ||
|
||
# Sources & Build Settings | ||
|
||
s.source = { :git => "https://github.com/yakovmanshin/YMFF.git", :tag => "#{s.version}" } | ||
|
||
s.swift_version = "5.3" | ||
s.osx.deployment_target = "10.13" | ||
s.ios.deployment_target = "11.0" | ||
|
||
# Subspecs | ||
|
||
s.default_subspec = "YMFF" | ||
|
||
s.subspec "YMFF" do |is| | ||
is.source_files = "Sources/YMFF/**/*.{swift}" | ||
is.dependency "YMFF/YMFFProtocols" | ||
end | ||
|
||
s.subspec "YMFFProtocols" do |ps| | ||
ps.source_files = "Sources/YMFFProtocols/**/*.{swift}" | ||
end | ||
|
||
s.test_spec "Tests" do |ts| | ||
ts.source_files = "Tests/YMFFTests/**/*.{swift}" | ||
ts.dependency "YMFF/YMFF" | ||
end | ||
|
||
end |