Skip to content

Commit d119627

Browse files
authored
Merge pull request #7 from ctreffs/release/0.2.1
Release/0.2.1
2 parents 7baf9c2 + e894a28 commit d119627

File tree

12 files changed

+74
-38
lines changed

12 files changed

+74
-38
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: macos-latest
12+
strategy:
13+
matrix:
14+
xcode: ["12.1"]
15+
steps:
16+
- uses: actions/checkout@master
17+
- name: Select Xcode ${{ matrix.xcode }}
18+
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
19+
- name: Swift build release
20+
run: swift build -c release
21+
env:
22+
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
23+
- name: Pod lib lint
24+
run: |
25+
bundle install
26+
make podLibLint
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Check markdown links
2+
3+
on: push
4+
5+
jobs:
6+
markdown-link-check:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@master
11+
- name: markdown-link-check
12+
uses: gaurav-nelson/github-action-markdown-link-check@master

.github/workflows/swift_macOS.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
*.moved-aside
99
*.pbxuser
1010
*.perspectivev3
11-
*.resolved
1211
*.xccheckout
1312
*.xcodeproj/*
1413
*.xcscmblueprint

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ podLibLint:
8484
bundle exec pod lib lint SimctlCLI.podspec --include-podspecs=SimctlShared.podspec --platforms=macos
8585

8686
podPublish: podLibLint
87-
pod setup && pod repo update && pod trunk push SimctlShared.podspec
88-
pod setup && pod repo update && pod trunk push Simctl.podspec
89-
pod setup && pod repo update && pod trunk push SimctlCLI.podspec
87+
bundle exec pod setup && bundle exec pod repo update && bundle exec pod trunk push SimctlShared.podspec
88+
bundle exec pod setup && bundle exec pod repo update && bundle exec pod trunk push Simctl.podspec
89+
bundle exec pod setup && bundle exec pod repo update && bundle exec pod trunk push SimctlCLI.podspec

Package.resolved

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ let package = Package(
1414
],
1515
dependencies: [
1616
.package(name: "ShellOut", url: "https://github.com/JohnSundell/ShellOut.git", from: "2.3.0"),
17-
.package(name: "Swifter", url: "https://github.com/httpswift/swifter.git", from: "1.4.7")
17+
.package(name: "Swifter", url: "https://github.com/httpswift/swifter.git", from: "1.5.0")
1818
],
1919
targets: [
2020
.target(name: "SimctlShared"),

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Swift Simctl
22

3-
[![build](https://github.com/ctreffs/SwiftSimctl/workflows/Swift-macOS/badge.svg)](https://github.com/ctreffs/SwiftSimctl/actions)
3+
![CI](https://github.com/ctreffs/SwiftSimctl/workflows/CI/badge.svg)
44
[![license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/ctreffs/SwiftSimctl/blob/master/LICENSE)
55
[![swift-version-compatibility](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fctreffs%2FSwiftSimctl%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/ctreffs/SwiftSimctl)
66
[![platform-compatibility](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fctreffs%2FSwiftSimctl%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/ctreffs/SwiftSimctl)
@@ -113,7 +113,7 @@ Please refer to the example project for an in depth code example **<https://gith
113113

114114
Assuming you have a project with Cocoapods already set up (otherwise refer to [these instructions](https://guides.cocoapods.org/using/using-cocoapods.html)):
115115

116-
1. Add `pod 'Simctl', '~> 0.2.0'` to your (test) target in your `Podfile`
116+
1. Add `pod 'Simctl', '~> 0.2.1'` to your (test) target in your `Podfile`
117117
2. Run `pod install`
118118
3. Open `<YourProject>.xcworkspace`
119119
4. Use `import Simctl` to access the library in your (test) target.

Simctl.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Pod::Spec.new do |spec|
44
spec.name = 'Simctl'
5-
spec.version = '0.2.0'
5+
spec.version = '0.2.1'
66
spec.summary = 'Swift client-server tool to call xcrun simctl from your simulator. Automate push notification testing!'
77
spec.description = <<-DESC
88
This is a small tool (SimctlCLI) and library (Simctl), written in Swift, to automate xcrun simctl commands for Simulator in unit and UI tests.
@@ -22,7 +22,7 @@ Pod::Spec.new do |spec|
2222
'SimctlCLI' => ['bin/SimctlCLI']
2323
}
2424
spec.source_files = 'Sources/Simctl/**/*.swift'
25-
spec.ios.dependency 'SimctlShared', '~> 0.2.0'
25+
spec.ios.dependency 'SimctlShared', '~> 0.2.1'
2626
spec.ios.dependency 'Swifter', '~> 1.5'
2727
spec.ios.framework = 'UIKit'
2828
spec.ios.deployment_target = '11.0'

SimctlCLI.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Pod::Spec.new do |spec|
44
spec.name = 'SimctlCLI'
5-
spec.version = '0.2.0'
5+
spec.version = '0.2.1'
66
spec.summary = 'Swift client-server tool to call xcrun simctl from your simulator. Automate push notification testing!'
77
spec.description = <<-DESC
88
This is a small tool (SimctlCLI) and library (Simctl), written in Swift, to automate xcrun simctl commands for Simulator in unit and UI tests.
@@ -22,7 +22,7 @@ Pod::Spec.new do |spec|
2222
'SimctlCLI' => ['bin/SimctlCLI']
2323
}
2424
spec.source_files = 'Sources/SimctlCLI/**/*.swift'
25-
spec.osx.dependency 'SimctlShared', '~> 0.2.0'
25+
spec.osx.dependency 'SimctlShared', '~> 0.2.1'
2626
spec.osx.dependency 'ShellOut', '~> 2.0.0'
2727
spec.osx.dependency 'Swifter', '~> 1.5'
2828
spec.osx.deployment_target = '10.12'

SimctlShared.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Pod::Spec.new do |spec|
44
spec.name = 'SimctlShared'
5-
spec.version = '0.2.0'
5+
spec.version = '0.2.1'
66
spec.summary = 'Swift client-server tool to call xcrun simctl from your simulator. Automate push notification testing!'
77
spec.description = <<-DESC
88
This is a small tool (SimctlCLI) and library (Simctl), written in Swift, to automate xcrun simctl commands for Simulator in unit and UI tests.

bin/SimctlCLI

-163 KB
Binary file not shown.

0 commit comments

Comments
 (0)