Skip to content

Commit

Permalink
Merge pull request #20 from playbook-ui/drop-support-for-cocoapods
Browse files Browse the repository at this point in the history
Drop support for CocoaPods
  • Loading branch information
ra1028 authored Feb 1, 2024
2 parents 03569df + a14eed6 commit d9735e1
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 229 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/publish.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,18 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Get ruby gem cache
id: gem-cache
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-1-gem-${{ hashFiles('Gemfile.lock') }}
restore-keys: ${{ runner.os }}-1-gem-

- name: Get SwiftPM cache
uses: actions/cache@v2
with:
path: Tools/.build
key: ${{ runner.os }}-${{ matrix.xcode_version }}-1-spm-${{ hashFiles('Tools/Package.resolved') }}
restore-keys: ${{ runner.os }}-${{ matrix.xcode_version }}-1-spm-

- name: Install ruby gems
if: steps.gem-cache.cache.outputs.cache-hit != 'true'
run: make gem

- name: Validation
if: matrix.xcode_version == '12.5.1'
run: |
make all && [ -z "$(git status --porcelain)" ]
make lint
make pod-lib-lint
test:
name: Test on macOS
Expand Down
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,12 @@ archive/
*.xcframework
*.xcworkspacedata

## Gem
.bundle
vendor

## npm
node_modules

## Carthage
Carthage/Build

## CocoaPods
Pods/

## SwiftPM
.swiftpm
.build
Expand Down
19 changes: 0 additions & 19 deletions .swift-mod.yml

This file was deleted.

1 change: 0 additions & 1 deletion .swift-version

This file was deleted.

1 change: 0 additions & 1 deletion .version

This file was deleted.

3 changes: 0 additions & 3 deletions Gemfile

This file was deleted.

93 changes: 0 additions & 93 deletions Gemfile.lock

This file was deleted.

13 changes: 0 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,6 @@ format:
lint:
$(SWIFT_RUN) --package-path Tools swift-format -r -m lint Sources Example/SampleAccessibilitySnapshot

.PHONY: pod-lib-lint
pod-lib-lint:
bundle exec pod lib lint --skip-tests PlaybookAccessibilitySnapshot.podspec

.PHONY: pod-release
pod-release:
bundle exec pod trunk push --verbose PlaybookAccessibilitySnapshot.podspec

.PHONY: gem
gem:
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3

.PHONY: npm
npm:
npm i
Expand Down
25 changes: 0 additions & 25 deletions PlaybookAccessibilitySnapshot.podspec

This file was deleted.

21 changes: 0 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
<img src="https://raw.githubusercontent.com/playbook-ui/mediakit/master/logo/default-h%402x.png" alt="Playbook" width="400">
</p>


# PlaybookAccessibilitySnapshot

<a href="https://developer.apple.com/swift"><img alt="Swift5" src="https://img.shields.io/badge/language-Swift5-orange.svg"/></a>
<a href="https://github.com/playbook-ui/accessibility-snapshot-ios/actions"><img alt="CI Status" src="https://github.com/playbook-ui/accessibility-snapshot-ios/workflows/GitHub%20Actions/badge.svg"/></a>
<a href="LICENSE"><img alt="Lincense" src="http://img.shields.io/badge/License-Apache%202.0-black.svg"/></a>
<br>
<a href="https://github.com/playbook-ui/accessibility-snapshot-ios/releases/latest"><img alt="Release" src="https://img.shields.io/github/v/release/playbook-ui/accessibility-snapshot-ios.svg"/></a>
<a href="https://cocoapods.org/pods/PlaybookAccessibilitySnapshot"><img alt="CocoaPods" src="https://img.shields.io/cocoapods/v/PlaybookAccessibilitySnapshot.svg"/></a>

`PlaybookAccessibilitySnapshot` is an extension to [Playbook](https://github.com/playbook-ui/playbook-ios) that uses [AccessibilitySnapshot](https://github.com/cashapp/AccessibilitySnapshot) to produce snapshots with accessibility information such as activation points and labels.

Expand Down Expand Up @@ -71,23 +69,6 @@ The generated snapshot images with accessibility information can be used for mor

## Installation

### [CocoaPods](https://cocoapods.org)

Add the following to your `Podfile`:

```ruby
target 'YourPlaybook' do
pod 'Playbook'

target 'YourPlaybookTests' do
inherit! :search_paths

pod 'PlaybookAccessibilitySnapshot'
end
end
```


### [Swift Package Manager](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app)

Select Xcode menu `File > Swift Packages > Add Package Dependency...` and enter repository URL with GUI.
Expand All @@ -96,14 +77,12 @@ Select Xcode menu `File > Swift Packages > Add Package Dependency...` and enter
Repository: https://github.com/playbook-ui/accessibility-snapshot-ios.git
```


---

## Development

1. Run `make proj` at the root of this repository.
1. Open `Example/Example.xcworkspace` via Xcode.
1. Develop a PlaybookAccessibilitySnapshot installed as a development pods.

---

Expand Down

0 comments on commit d9735e1

Please sign in to comment.