mirror of
https://github.com/wgh136/flutter_qjs.git
synced 2025-09-27 13:27:24 +00:00
27 lines
1.1 KiB
Ruby
27 lines
1.1 KiB
Ruby
#
|
|
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
|
|
# Run `pod lib lint flutter_qjs.podspec' to validate before publishing.
|
|
#
|
|
Pod::Spec.new do |s|
|
|
s.name = 'flutter_qjs'
|
|
s.version = '0.0.1'
|
|
s.summary = 'A quickjs engine for flutter.'
|
|
s.description = <<-DESC
|
|
This plugin is a simple js engine for flutter using the `quickjs` project. Plugin currently supports all the platforms except web!
|
|
DESC
|
|
s.homepage = 'https://github.com/ekibun/flutter_qjs'
|
|
s.license = { :file => '../LICENSE' }
|
|
s.author = { 'ekibun' => 'soekibun@gmail.com' }
|
|
s.source = { :path => '.' }
|
|
s.source_files = 'Classes/**/*'
|
|
s.dependency 'Flutter'
|
|
s.platform = :ios, '8.0'
|
|
|
|
# Flutter.framework does not contain a i386 slice.
|
|
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
|
|
s.vendored_frameworks = 'build/ffiquickjs.framework'
|
|
s.static_framework = false
|
|
s.prepare_command = 'sh make.sh'
|
|
s.swift_version = '5.0'
|
|
end
|