19 lines
494 B
Ruby
19 lines
494 B
Ruby
require "json"
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, "../package.json")))
|
|
version = package['dependencies']["doric"]
|
|
version = version.gsub('^','')
|
|
|
|
source 'https://cdn.cocoapods.org/'
|
|
# Uncomment the next line to define a global platform for your project
|
|
# platform :ios, '9.0'
|
|
|
|
target '__$__' do
|
|
# Comment the next line if you don't want to use dynamic frameworks
|
|
use_modular_headers!
|
|
|
|
# Pods for __$__
|
|
pod 'DoricCore', "#{version}"
|
|
pod 'DoricDevkit', "#{version}"
|
|
end
|