mirror of
https://github.com/wgh136/flutter_qjs.git
synced 2025-09-27 05:27:23 +00:00
prepare_command for mac & ios
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'flutter_qjs'
|
||||
s.version = '0.0.1'
|
||||
s.summary = 'A new flutter plugin project.'
|
||||
s.summary = 'A quickjs engine for flutter.'
|
||||
s.description = <<-DESC
|
||||
A new flutter plugin project.
|
||||
This plugin is a simple js engine for flutter using the `quickjs` project. Plugin currently supports all the platforms except web!
|
||||
DESC
|
||||
s.homepage = 'http://example.com'
|
||||
s.homepage = 'https://github.com/ekibun/flutter_qjs'
|
||||
s.license = { :file => '../LICENSE' }
|
||||
s.author = { 'Your Company' => 'email@example.com' }
|
||||
s.author = { 'ekibun' => 'soekibun@gmail.com' }
|
||||
s.source = { :path => '.' }
|
||||
s.source_files = 'Classes/**/*'
|
||||
s.dependency 'FlutterMacOS'
|
||||
@@ -19,5 +19,6 @@ A new flutter plugin project.
|
||||
s.platform = :osx, '10.11'
|
||||
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
|
||||
s.vendored_libraries = 'build/Debug/libffiquickjs.dylib'
|
||||
s.prepare_command = 'sh make.sh'
|
||||
s.swift_version = '5.0'
|
||||
end
|
||||
|
@@ -9,3 +9,4 @@ mkdir build
|
||||
cd build
|
||||
cmake .. -G Xcode -DCMAKE_OSX_ARCHITECTURES=x86_64
|
||||
cmake --build . --config Debug
|
||||
cd ..
|
||||
|
Reference in New Issue
Block a user