-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCRuby.podspec
33 lines (25 loc) · 926 Bytes
/
CRuby.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# -*- mode: ruby -*-
require_relative 'config'
Pod::Spec.new do |s|
s.name = "CRuby"
s.version = CRuby.version
s.license = "MIT"
s.source = {:git => "https://github.com/xord/cruby"}
s.author = {"xord" => "[email protected]"}
s.homepage = "https://github.com/xord"
s.summary = "CRuby (MRI) Interpreter."
s.description = <<~END
CRuby (MRI) interpreter for embedding it to OSX/iOS App.
END
s.osx.deployment_target = "10.7"
s.ios.deployment_target = "10.0"
root = "${PODS_ROOT}/CRuby"
s.requires_arc = false
s.resource_bundles = {"CRuby" => "CRuby/lib"}
s.source_files = "src/*.m"
s.libraries = "ruby-static", "z"
s.preserve_paths = "CRuby"
s.vendored_frameworks = "CRuby/CRuby.xcframework"
s.xcconfig = {"HEADER_SEARCH_PATHS" => "#{root}/CRuby/include"}
s.prepare_command = "rake download_or_build"
end