Skip to content

Commit

Permalink
[skip slack] dynamically patch tool/ directory to not depend on print…
Browse files Browse the repository at this point in the history
…V, because I don't want to debug windows.
  • Loading branch information
MrCyjaneK committed Jan 8, 2025
1 parent e9de5d3 commit 78f9c01
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/pr_test_build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,15 @@ jobs:
Write-Host "=== Generating localization files ==="
cp pubspec_base.yaml pubspec.yaml
flutter pub get
Get-ChildItem .\tool\generate_localization.dart, .\tool\download_moneroc_prebuilds.dart -Recurse | ForEach {(Get-Content $_).Replace("printV", "print") | Set-Content $_}
$files = Get-ChildItem .\tool\generate_localization.dart, .\tool\download_moneroc_prebuilds.dart -Recurse
foreach ($file in $files) {
(Get-Content $file.PSPath) |
Foreach-Object { $_ -replace "import 'package:cw_core/utils/print_verbose.dart';", "" } |
Set-Content $file.PSPath
}
dart run .\tool\generate_localization.dart
dart run .\tool\download_moneroc_prebuilds.dart
Expand Down

0 comments on commit 78f9c01

Please sign in to comment.