Skip to content

Commit

Permalink
chore: update spm and remove xcodeproj (#12)
Browse files Browse the repository at this point in the history
* chore: update spm and remove xcodeproj

* chore: remove gemfile
  • Loading branch information
amine2233 authored May 19, 2024
1 parent 02bd159 commit 11dbdff
Show file tree
Hide file tree
Showing 23 changed files with 27 additions and 2,446 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
name: Swift

on: [push]
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: macOS-latest
test:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
strategy:
matrix:
os: [macOS-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
run: swift test -v

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Dockerfile-dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM swift:4.2
FROM swift:5.9
RUN apt-get -qq update && apt-get -q -y install \
tzdata \
&& rm -r /var/lib/apt/lists/*
10 changes: 0 additions & 10 deletions Gemfile

This file was deleted.

92 changes: 0 additions & 92 deletions Gemfile.lock

This file was deleted.

5 changes: 4 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
// swift-tools-version:4.1
// swift-tools-version:5.9
import PackageDescription

let package = Package(
name: "StateMachine",
platforms: [
.macOS(.v10_15), .iOS(.v14), .tvOS(.v14), .watchOS(.v7), .visionOS(.v1)
],
products: [
.library(
name: "StateMachine",
Expand Down
22 changes: 0 additions & 22 deletions Sources/Info-iOS.plist

This file was deleted.

22 changes: 0 additions & 22 deletions Sources/Info-macOS.plist

This file was deleted.

22 changes: 0 additions & 22 deletions Sources/Info-tvOS.plist

This file was deleted.

22 changes: 0 additions & 22 deletions Sources/Info-watchOS.plist

This file was deleted.

16 changes: 0 additions & 16 deletions Sources/StateMachine_iOS.h

This file was deleted.

11 changes: 6 additions & 5 deletions StateMachine.podspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
Pod::Spec.new do |s|
s.name = "StateMachine"
s.version = "0.1.1"
s.version = "0.2.0"
s.summary = "Sort description of 'StateMachine' framework"
s.homepage = "https://github.com/amine2233/StateMachine"
s.license = { type: 'MIT', file: 'LICENSE' }
s.author = { 'Amine Bensalah' => '[email protected]' }
s.ios.deployment_target = '10.0'
s.osx.deployment_target = '10.12'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '4.0'
s.ios.deployment_target = '14.0'
s.osx.deployment_target = '10.15'
s.tvos.deployment_target = '14.0'
s.watchos.deployment_target = '7.0'
s.visionos.deployment_target = '1.0'
s.requires_arc = true
s.source = { :git => "https://github.com/amine2233/StateMachine.git", :tag => s.version.to_s }
s.source_files = "Sources/**/*.swift"
Expand Down
Loading

0 comments on commit 11dbdff

Please sign in to comment.