Skip to content

Commit

Permalink
Made library work as pod.
Browse files Browse the repository at this point in the history
  • Loading branch information
5eeman committed Apr 8, 2024
1 parent 0f4a545 commit 3444a4b
Show file tree
Hide file tree
Showing 50 changed files with 2,734 additions and 52 deletions.
34 changes: 34 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# macOS
.DS_Store

# Xcode
/.build
/Packages
xcuserdata/
Expand All @@ -7,3 +10,34 @@ DerivedData/
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
.idea

*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa

# Bundler
.bundle

# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build

# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
#
# Note: if you ignore the Pods directory, make sure to uncomment
# `pod install` in .travis.yml
#
# Pods/
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# references:
# * https://www.objc.io/issues/6-build-tools/travis-ci/
# * https://github.com/supermarin/xcpretty#usage

osx_image: xcode7.3
language: objective-c
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/rapidsnark.xcworkspace -scheme rapidsnark-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint
13 changes: 13 additions & 0 deletions Example/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
use_frameworks!

platform :ios, '12.0'

target 'rapidsnark_Example' do
pod 'rapidsnark', :path => '../'

target 'rapidsnark_Tests' do
inherit! :search_paths


end
end
20 changes: 20 additions & 0 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
PODS:
- rapidsnark (0.1.0):
- rapidsnark/rapidsnark (= 0.1.0)
- rapidsnark/C (0.1.0)
- rapidsnark/rapidsnark (0.1.0):
- rapidsnark/C

DEPENDENCIES:
- rapidsnark (from `../`)

EXTERNAL SOURCES:
rapidsnark:
:path: "../"

SPEC CHECKSUMS:
rapidsnark: d4c41badf1fa4e1ca5a99aa2161b2b26631fdeb2

PODFILE CHECKSUM: 96331fd92ed9651d0ec43feadad116a15c20e7c7

COCOAPODS: 1.15.2
55 changes: 55 additions & 0 deletions Example/Pods/Local Podspecs/rapidsnark.podspec.json

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

20 changes: 20 additions & 0 deletions Example/Pods/Manifest.lock

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

853 changes: 853 additions & 0 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

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

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

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

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

Loading

0 comments on commit 3444a4b

Please sign in to comment.