This commit is contained in:
Hillel Coren 2020-03-03 17:15:12 +02:00
parent d4f7a38b32
commit d09248b338
2 changed files with 5 additions and 4 deletions

View File

@ -40,6 +40,7 @@ import 'package:invoiceninja_flutter/ui/app/screen_imports.dart';
import 'package:invoiceninja_flutter/ui/client/edit/client_edit_vm.dart'; import 'package:invoiceninja_flutter/ui/client/edit/client_edit_vm.dart';
import 'package:invoiceninja_flutter/ui/company_gateway/edit/company_gateway_edit_vm.dart'; import 'package:invoiceninja_flutter/ui/company_gateway/edit/company_gateway_edit_vm.dart';
import 'package:invoiceninja_flutter/ui/credit/edit/credit_edit_vm.dart'; import 'package:invoiceninja_flutter/ui/credit/edit/credit_edit_vm.dart';
import 'package:invoiceninja_flutter/ui/design/edit/design_edit_vm.dart';
import 'package:invoiceninja_flutter/ui/group/edit/group_edit_vm.dart'; import 'package:invoiceninja_flutter/ui/group/edit/group_edit_vm.dart';
import 'package:invoiceninja_flutter/ui/product/edit/product_edit_vm.dart'; import 'package:invoiceninja_flutter/ui/product/edit/product_edit_vm.dart';

View File

@ -185,7 +185,7 @@ else
# Link in new module # Link in new module
comment="STARTER: import - do not remove comment" comment="STARTER: import - do not remove comment"
code="import 'package:${package}\/redux\/${module_snake}\/${module_snake}_state.dart';import 'package:invoiceninja_flutter/ui/${module_snake}/edit/${module_snake}_edit_vm.dart';import 'package:invoiceninja_flutter/redux/${module_snake}/${module_snake}_state.dart';${lineBreak}" code="import 'package:${package}\/redux\/${module_snake}\/${module_snake}_state.dart';import 'package:${package}/ui/${module_snake}/edit/${module_snake}_edit_vm.dart';import 'package:${package}/redux/${module_snake}/${module_snake}_state.dart';import 'package:${package}/ui/${module_snake}/edit/${module_snake}_edit_vm.dart';${lineBreak}"
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/app/app_state.dart sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/app/app_state.dart
comment="STARTER: states switch list - do not remove comment" comment="STARTER: states switch list - do not remove comment"
@ -384,7 +384,7 @@ else
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/ui/ui_reducer.dart sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/ui/ui_reducer.dart
comment="STARTER: import - do not remove comment" comment="STARTER: import - do not remove comment"
code="import 'package:invoiceninja_flutter\/redux\/${module_snake}\/${module_snake}_actions.dart';${lineBreak}" code="import 'package:${package}\/redux\/${module_snake}\/${module_snake}_actions.dart';${lineBreak}"
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/app/app_reducer.dart sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/app/app_reducer.dart
comment="STARTER: errors - do not remove comment" comment="STARTER: errors - do not remove comment"
@ -396,11 +396,11 @@ else
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/ui/pref_reducer.dart sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/ui/pref_reducer.dart
comment="STARTER: import - do not remove comment" comment="STARTER: import - do not remove comment"
code="import 'package:invoiceninja_flutter\/redux\/${module_snake}\/${module_snake}_actions.dart';${lineBreak}" code="import 'package:${package}\/redux\/${module_snake}\/${module_snake}_actions.dart';${lineBreak}"
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/ui/pref_reducer.dart sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/ui/pref_reducer.dart
comment="STARTER: import - do not remove comment" comment="STARTER: import - do not remove comment"
code="import 'package:invoiceninja_flutter\/redux\/${module_snake}\/${module_snake}_actions.dart';${lineBreak}" code="import 'package:${package}\/redux\/${module_snake}\/${module_snake}_actions.dart';${lineBreak}"
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/app/app_actions.dart sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/app/app_actions.dart
comment="STARTER: filter - do not remove comment" comment="STARTER: filter - do not remove comment"