Place LICENSE as sibling of podspec (flutter/engine#4691)

This commit is contained in:
Mikkel Nygaard Ravn
2018-02-19 16:33:30 +01:00
committed by GitHub
parent 9742ed5cb6
commit 5de8c90177
2 changed files with 12 additions and 1 deletions

View File

@@ -213,6 +213,16 @@ copy("copy_framework_podspec") {
]
}
copy("copy_license") {
visibility = [ ":*" ]
sources = [
"//LICENSE",
]
outputs = [
"$root_out_dir/LICENSE",
]
}
shared_library("copy_and_verify_framework_headers") {
visibility = [ ":*" ]
include_dirs = [ "$_flutter_framework_headers_copy_dir" ]
@@ -232,5 +242,6 @@ group("flutter_framework") {
":copy_framework_info_plist",
":copy_framework_module_map",
":copy_framework_podspec",
":copy_license",
]
}

View File

@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
Flutter provides an easy and productive way to build and deploy high-performance mobile apps for Android and iOS.
DESC
s.homepage = 'https://flutter.io'
s.license = { :type => 'MIT', :file => '../../../../../LICENSE' }
s.license = { :type => 'MIT' }
s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' }
s.source = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s }
s.ios.deployment_target = '7.0'