chore: generate template (#19)
This commit is contained in:
parent
1eba29b7ca
commit
bb943d2f71
14
brick/__brick__/static/{{~ plugin_dependencies.dart }}
Normal file
14
brick/__brick__/static/{{~ plugin_dependencies.dart }}
Normal 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}}
|
17
brick/__brick__/static/{{~ plugin_platforms.dart }}
Normal file
17
brick/__brick__/static/{{~ plugin_platforms.dart }}
Normal 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}}
|
@ -7,39 +7,12 @@ environment:
|
||||
sdk: ">=2.16.0 <3.0.0"
|
||||
flutter: ">=2.10.0"
|
||||
|
||||
flutter:
|
||||
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
|
||||
{{> plugin_platforms.dart }}
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
{{project_name.snakeCase()}}_android:
|
||||
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
|
||||
{{> plugin_dependencies.dart }}
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
Reference in New Issue
Block a user