diff --git a/pkgs/intl4x/tool/generate_hashes.dart b/pkgs/intl4x/tool/generate_hashes.dart index 5b53489b..c2108c7f 100644 --- a/pkgs/intl4x/tool/generate_hashes.dart +++ b/pkgs/intl4x/tool/generate_hashes.dart @@ -32,6 +32,8 @@ Future main(List args) async { final fileHash = sha256.convert(bytes).toString(); fileHashes[(os, architecture)] = fileHash; print('Hash is $fileHash'); + } else { + print('Could not get library'); } } } @@ -67,6 +69,7 @@ Future _copyLibrary( ) async { final fileUri = Directory.current.uri.resolve(folder).resolve(target); final file = File.fromUri(fileUri); + print('Copy file from ${fileUri.toFilePath()} to ${dynamicLibrary.path}'); if (await file.exists()) { await file.copy(dynamicLibrary.path); return true; @@ -80,6 +83,7 @@ Future _fetchLibrary( 'https://github.com/dart-lang/i18n/releases/download/$version/$target'); final request = await httpClient.getUrl(uri); final response = await request.close(); + print('Fetch file from $uri'); if (response.statusCode != 200) { print('File not found at $uri'); return false;