Skip to content

Commit

Permalink
Init (#1)
Browse files Browse the repository at this point in the history
* first pass implementation

* added pod spec and release workflow
  • Loading branch information
KennyHuRadar authored Jul 30, 2024
1 parent 0424e91 commit 4d6ed68
Show file tree
Hide file tree
Showing 10 changed files with 734 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

on:
release:
types: [created]

jobs:
release:
runs-on: macos-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7' # Specify the Ruby version you are using

- name: Install CocoaPods
run: gem install cocoapods

- name: Validate podspec
run: pod lib lint --allow-warnings

- name: Push to CocoaPods trunk
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
run: pod trunk push RadarSDKMotion.podspec --allow-warnings
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,7 @@ fastlane/test_output
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/


.DS_Store
RadarSDKMotion/.DS_Store
15 changes: 15 additions & 0 deletions RadarSDKMotion.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Pod::Spec.new do |s|
s.name = 'RadarSDKMotion'
s.version = '0.0.1'
s.summary = 'Motion detection plugin for RadarSDK, the leading geofencing and location tracking platform'
s.homepage = 'https://radar.com'
s.author = { 'Radar Labs, Inc.' => 'support@radar.com' }
s.platform = :ios
s.source = { :git => 'https://github.com/radarlabs/radar-sdk-ios-motion.git', :tag => s.version.to_s }
s.source_files = ["RadarSDKMotion/RadarSDKMotion/*.{h,m}"]
s.module_name = 'RadarSDKMotion'
s.ios.deployment_target = '12.0'
s.frameworks = 'CoreMotion'
s.requires_arc = true
s.license = { :type => 'Apache-2.0' }
end
Loading

0 comments on commit 4d6ed68

Please sign in to comment.