Skip to content

Commit

Permalink
Merge pull request #7 from ctreffs/release/0.2.1
Browse files Browse the repository at this point in the history
Release/0.2.1
  • Loading branch information
ctreffs authored Nov 20, 2020
2 parents 7baf9c2 + e894a28 commit d119627
Show file tree
Hide file tree
Showing 12 changed files with 74 additions and 38 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: macos-latest
strategy:
matrix:
xcode: ["12.1"]
steps:
- uses: actions/checkout@master
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Swift build release
run: swift build -c release
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
- name: Pod lib lint
run: |
bundle install
make podLibLint
12 changes: 12 additions & 0 deletions .github/workflows/markdown-link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Check markdown links

on: push

jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: markdown-link-check
uses: gaurav-nelson/github-action-markdown-link-check@master
26 changes: 0 additions & 26 deletions .github/workflows/swift_macOS.yml

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
*.moved-aside
*.pbxuser
*.perspectivev3
*.resolved
*.xccheckout
*.xcodeproj/*
*.xcscmblueprint
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ podLibLint:
bundle exec pod lib lint SimctlCLI.podspec --include-podspecs=SimctlShared.podspec --platforms=macos

podPublish: podLibLint
pod setup && pod repo update && pod trunk push SimctlShared.podspec
pod setup && pod repo update && pod trunk push Simctl.podspec
pod setup && pod repo update && pod trunk push SimctlCLI.podspec
bundle exec pod setup && bundle exec pod repo update && bundle exec pod trunk push SimctlShared.podspec
bundle exec pod setup && bundle exec pod repo update && bundle exec pod trunk push Simctl.podspec
bundle exec pod setup && bundle exec pod repo update && bundle exec pod trunk push SimctlCLI.podspec
25 changes: 25 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"object": {
"pins": [
{
"package": "ShellOut",
"repositoryURL": "https://github.com/JohnSundell/ShellOut.git",
"state": {
"branch": null,
"revision": "e1577acf2b6e90086d01a6d5e2b8efdaae033568",
"version": "2.3.0"
}
},
{
"package": "Swifter",
"repositoryURL": "https://github.com/httpswift/swifter.git",
"state": {
"branch": null,
"revision": "9483a5d459b45c3ffd059f7b55f9638e268632fd",
"version": "1.5.0"
}
}
]
},
"version": 1
}
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ let package = Package(
],
dependencies: [
.package(name: "ShellOut", url: "https://github.com/JohnSundell/ShellOut.git", from: "2.3.0"),
.package(name: "Swifter", url: "https://github.com/httpswift/swifter.git", from: "1.4.7")
.package(name: "Swifter", url: "https://github.com/httpswift/swifter.git", from: "1.5.0")
],
targets: [
.target(name: "SimctlShared"),
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Swift Simctl

[![build](https://github.com/ctreffs/SwiftSimctl/workflows/Swift-macOS/badge.svg)](https://github.com/ctreffs/SwiftSimctl/actions)
![CI](https://github.com/ctreffs/SwiftSimctl/workflows/CI/badge.svg)
[![license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/ctreffs/SwiftSimctl/blob/master/LICENSE)
[![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)
[![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)
Expand Down Expand Up @@ -113,7 +113,7 @@ Please refer to the example project for an in depth code example **<https://gith

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

1. Add `pod 'Simctl', '~> 0.2.0'` to your (test) target in your `Podfile`
1. Add `pod 'Simctl', '~> 0.2.1'` to your (test) target in your `Podfile`
2. Run `pod install`
3. Open `<YourProject>.xcworkspace`
4. Use `import Simctl` to access the library in your (test) target.
Expand Down
4 changes: 2 additions & 2 deletions Simctl.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Pod::Spec.new do |spec|
spec.name = 'Simctl'
spec.version = '0.2.0'
spec.version = '0.2.1'
spec.summary = 'Swift client-server tool to call xcrun simctl from your simulator. Automate push notification testing!'
spec.description = <<-DESC
This is a small tool (SimctlCLI) and library (Simctl), written in Swift, to automate xcrun simctl commands for Simulator in unit and UI tests.
Expand All @@ -22,7 +22,7 @@ Pod::Spec.new do |spec|
'SimctlCLI' => ['bin/SimctlCLI']
}
spec.source_files = 'Sources/Simctl/**/*.swift'
spec.ios.dependency 'SimctlShared', '~> 0.2.0'
spec.ios.dependency 'SimctlShared', '~> 0.2.1'
spec.ios.dependency 'Swifter', '~> 1.5'
spec.ios.framework = 'UIKit'
spec.ios.deployment_target = '11.0'
Expand Down
4 changes: 2 additions & 2 deletions SimctlCLI.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Pod::Spec.new do |spec|
spec.name = 'SimctlCLI'
spec.version = '0.2.0'
spec.version = '0.2.1'
spec.summary = 'Swift client-server tool to call xcrun simctl from your simulator. Automate push notification testing!'
spec.description = <<-DESC
This is a small tool (SimctlCLI) and library (Simctl), written in Swift, to automate xcrun simctl commands for Simulator in unit and UI tests.
Expand All @@ -22,7 +22,7 @@ Pod::Spec.new do |spec|
'SimctlCLI' => ['bin/SimctlCLI']
}
spec.source_files = 'Sources/SimctlCLI/**/*.swift'
spec.osx.dependency 'SimctlShared', '~> 0.2.0'
spec.osx.dependency 'SimctlShared', '~> 0.2.1'
spec.osx.dependency 'ShellOut', '~> 2.0.0'
spec.osx.dependency 'Swifter', '~> 1.5'
spec.osx.deployment_target = '10.12'
Expand Down
2 changes: 1 addition & 1 deletion SimctlShared.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Pod::Spec.new do |spec|
spec.name = 'SimctlShared'
spec.version = '0.2.0'
spec.version = '0.2.1'
spec.summary = 'Swift client-server tool to call xcrun simctl from your simulator. Automate push notification testing!'
spec.description = <<-DESC
This is a small tool (SimctlCLI) and library (Simctl), written in Swift, to automate xcrun simctl commands for Simulator in unit and UI tests.
Expand Down
Binary file modified bin/SimctlCLI
Binary file not shown.

0 comments on commit d119627

Please sign in to comment.