This commit is contained in:
Hillel Coren 2018-08-20 23:29:35 -07:00
parent 63592a2994
commit 0ee48bc6f0
1 changed files with 7 additions and 7 deletions

View File

@ -105,7 +105,7 @@ if [ ${action} = "init" ]; then
'./stubs/ui/stub/edit/stub_edit_vm'
'./stubs/ui/stub/view/stub_view'
'./stubs/ui/stub/view/stub_view_vm'
'./stubs/ui/stub/stub_item'
'./stubs/ui/stub/stub_list_item'
'./stubs/ui/stub/stub_list_vm'
'./stubs/ui/stub/stub_list'
'./stubs/ui/stub/stub_screen')
@ -164,7 +164,7 @@ else
'./stubs/ui/stub/edit/stub_edit_vm'
'./stubs/ui/stub/view/stub_view'
'./stubs/ui/stub/view/stub_view_vm'
'./stubs/ui/stub/stub_item'
'./stubs/ui/stub/stub_list_item'
'./stubs/ui/stub/stub_list_vm'
'./stubs/ui/stub/stub_list'
'./stubs/ui/stub/stub_screen')
@ -316,23 +316,23 @@ else
comment="STARTER: import - do not remove comment"
code="import 'package:${package}\/redux\/${module}\/${module}_state.dart';${lineBreak}"
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/app/data_state.dart
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/app/company_state.dart
comment="STARTER: fields - do not remove comment"
code="${Module}State get ${module}State;${lineBreak}"
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/app/data_state.dart
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/app/company_state.dart
comment="STARTER: constructor - do not remove comment"
code="${module}State: ${Module}State(),${lineBreak}"
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/app/data_state.dart
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/app/company_state.dart
comment="STARTER: import - do not remove comment"
code="import 'package:${package}\/redux\/${module}\/${module}_reducer.dart';${lineBreak}"
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/app/data_reducer.dart
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/app/company_reducer.dart
comment="STARTER: reducer - do not remove comment"
code="..${module}State.replace(${module}sReducer(state.${module}State, action))${lineBreak}"
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/app/data_reducer.dart
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/app/company_reducer.dart
comment="STARTER: import - do not remove comment"
code="import 'package:${package}\/redux\/${module}\/${module}_actions.dart';${lineBreak}"