chore: generate template (#19)

This commit is contained in:
github-actions[bot] 2022-04-12 12:23:59 -05:00 committed by GitHub
parent 1eba29b7ca
commit bb943d2f71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
67 changed files with 33 additions and 29 deletions

View File

@ -0,0 +1,14 @@
{{#android}} {{project_name.snakeCase()}}_android:
path: ../{{project_name.snakeCase()}}_android{{/android}}{{#ios}}
{{project_name.snakeCase()}}_ios:
path: ../{{project_name.snakeCase()}}_ios{{/ios}}{{#linux}}
{{project_name.snakeCase()}}_linux:
path: ../{{project_name.snakeCase()}}_linux{{/linux}}{{#macos}}
{{project_name.snakeCase()}}_macos:
path: ../{{project_name.snakeCase()}}_macos{{/macos}}
{{project_name.snakeCase()}}_platform_interface:
path: ../{{project_name.snakeCase()}}_platform_interface{{#web}}
{{project_name.snakeCase()}}_web:
path: ../{{project_name.snakeCase()}}_web{{/web}}{{#windows}}
{{project_name.snakeCase()}}_windows:
path: ../{{project_name.snakeCase()}}_windows{{/windows}}

View File

@ -0,0 +1,17 @@
flutter:
plugin:
platforms:{{#android}}
{{project_name.snakeCase()}}_android:
path: ../{{project_name.snakeCase()}}_android{{/android}}{{#ios}}
{{project_name.snakeCase()}}_ios:
path: ../{{project_name.snakeCase()}}_ios{{/ios}}{{#linux}}
{{project_name.snakeCase()}}_linux:
path: ../{{project_name.snakeCase()}}_linux{{/linux}}{{#macos}}
{{project_name.snakeCase()}}_macos:
path: ../{{project_name.snakeCase()}}_macos{{/macos}}
{{project_name.snakeCase()}}_platform_interface:
path: ../{{project_name.snakeCase()}}_platform_interface{{#web}}
{{project_name.snakeCase()}}_web:
path: ../{{project_name.snakeCase()}}_web{{/web}}{{#windows}}
{{project_name.snakeCase()}}_windows:
path: ../{{project_name.snakeCase()}}_windows{{/windows}}

View File

@ -7,39 +7,12 @@ environment:
sdk: ">=2.16.0 <3.0.0" sdk: ">=2.16.0 <3.0.0"
flutter: ">=2.10.0" flutter: ">=2.10.0"
flutter: {{> plugin_platforms.dart }}
plugin:
platforms:
android:
default_package: {{project_name.snakeCase()}}_android
ios:
default_package: {{project_name.snakeCase()}}_ios
macos:
default_package: {{project_name.snakeCase()}}_macos
linux:
default_package: {{project_name.snakeCase()}}_linux
web:
default_package: {{project_name.snakeCase()}}_web
windows:
default_package: {{project_name.snakeCase()}}_windows
dependencies: dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
{{project_name.snakeCase()}}_android: {{> plugin_dependencies.dart }}
path: ../{{project_name.snakeCase()}}_android
{{project_name.snakeCase()}}_ios:
path: ../{{project_name.snakeCase()}}_ios
{{project_name.snakeCase()}}_linux:
path: ../{{project_name.snakeCase()}}_linux
{{project_name.snakeCase()}}_macos:
path: ../{{project_name.snakeCase()}}_macos
{{project_name.snakeCase()}}_platform_interface:
path: ../{{project_name.snakeCase()}}_platform_interface
{{project_name.snakeCase()}}_web:
path: ../{{project_name.snakeCase()}}_web
{{project_name.snakeCase()}}_windows:
path: ../{{project_name.snakeCase()}}_windows
dev_dependencies: dev_dependencies:
flutter_test: flutter_test: