Showing
2 changed files
with
9 additions
and
1 deletions
@@ -50,18 +50,26 @@ clean: | @@ -50,18 +50,26 @@ clean: | ||
50 | git clean -fdx -e .vscode | 50 | git clean -fdx -e .vscode |
51 | 51 | ||
52 | publish-pdf: format clean | 52 | publish-pdf: format clean |
53 | + find pdf -name pubspec.yaml -exec sed -i -e 's/^dependency_overrides:/_dependency_overrides:/g' '{}' ';' | ||
53 | cd pdf; pub publish -f | 54 | cd pdf; pub publish -f |
55 | + find pdf -name pubspec.yaml -exec sed -i -e 's/^_dependency_overrides:/dependency_overrides:/g' '{}' ';' | ||
54 | 56 | ||
55 | publish-printing: format clean | 57 | publish-printing: format clean |
58 | + find printing -name pubspec.yaml -exec sed -i -e 's/^dependency_overrides:/_dependency_overrides:/g' '{}' ';' | ||
56 | cd printing; pub publish -f | 59 | cd printing; pub publish -f |
60 | + find printing -name pubspec.yaml -exec sed -i -e 's/^_dependency_overrides:/dependency_overrides:/g' '{}' ';' | ||
57 | 61 | ||
58 | .pana: | 62 | .pana: |
59 | pub global activate pana | 63 | pub global activate pana |
60 | touch $@ | 64 | touch $@ |
61 | 65 | ||
62 | analyze: .pana | 66 | analyze: .pana |
67 | + @find pdf -name pubspec.yaml -exec sed -i -e 's/^dependency_overrides:/_dependency_overrides:/g' '{}' ';' | ||
68 | + @find printing -name pubspec.yaml -exec sed -i -e 's/^dependency_overrides:/_dependency_overrides:/g' '{}' ';' | ||
63 | @pana --no-warning --source path pdf 2> /dev/null | python pana_report.py | 69 | @pana --no-warning --source path pdf 2> /dev/null | python pana_report.py |
64 | @pana --no-warning --source path printing 2> /dev/null | python pana_report.py | 70 | @pana --no-warning --source path printing 2> /dev/null | python pana_report.py |
71 | + @find pdf -name pubspec.yaml -exec sed -i -e 's/^_dependency_overrides:/dependency_overrides:/g' '{}' ';' | ||
72 | + @find printing -name pubspec.yaml -exec sed -i -e 's/^_dependency_overrides:/dependency_overrides:/g' '{}' ';' | ||
65 | 73 | ||
66 | .dartfix: | 74 | .dartfix: |
67 | pub global activate dartfix | 75 | pub global activate dartfix |
@@ -4,7 +4,7 @@ description: Plugin that allows Flutter apps to generate and print documents to | @@ -4,7 +4,7 @@ description: Plugin that allows Flutter apps to generate and print documents to | ||
4 | homepage: https://github.com/DavBfr/dart_pdf/tree/master/printing | 4 | homepage: https://github.com/DavBfr/dart_pdf/tree/master/printing |
5 | repository: https://github.com/DavBfr/dart_pdf | 5 | repository: https://github.com/DavBfr/dart_pdf |
6 | issue_tracker: https://github.com/DavBfr/dart_pdf/issues | 6 | issue_tracker: https://github.com/DavBfr/dart_pdf/issues |
7 | -version: 1.3.5 | 7 | +version: 2.0.0 |
8 | 8 | ||
9 | environment: | 9 | environment: |
10 | sdk: ">=2.1.0 <3.0.0" | 10 | sdk: ">=2.1.0 <3.0.0" |
-
Please register or login to post a comment