chore(scripts): group scripts into checks, codegen, maestro and release subdirectories
scripts/ had ~80 flat files. Entry points (ci_*.sh, codegen.sh, run_tests.sh, format_native.sh, setup_hooks.sh, upload-symbols.*) and the shared pubspec_version.py stay at the root; checkers, generators, maestro tooling and release tooling move into subdirectories with their tests. Updated every reference: workflow steps, guard-test glob, Docker COPY paths and .dockerignore whitelist, website audit path, dart test imports, and regenerated the five outputs whose headers embed generator paths.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
import '../../scripts/check_analyzer.dart';
|
||||
import '../../scripts/checks/check_analyzer.dart';
|
||||
|
||||
const _root = r'C:\repo';
|
||||
const _allowedInfo =
|
||||
|
||||
@@ -5,7 +5,7 @@ import 'package:crypto/crypto.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:path/path.dart' as path;
|
||||
|
||||
import '../../scripts/generate_ducet_ranks.dart';
|
||||
import '../../scripts/codegen/generate_ducet_ranks.dart';
|
||||
|
||||
void main() {
|
||||
late Directory temporaryDirectory;
|
||||
@@ -21,8 +21,8 @@ void main() {
|
||||
});
|
||||
|
||||
test('bundled gzip inputs have deterministic normalized headers and bytes', () {
|
||||
final allKeys = File('scripts/data/${allKeysSource.bundledFileName}').readAsBytesSync();
|
||||
final fractional = File('scripts/data/${fractionalUcaSource.bundledFileName}').readAsBytesSync();
|
||||
final allKeys = File('scripts/codegen/data/${allKeysSource.bundledFileName}').readAsBytesSync();
|
||||
final fractional = File('scripts/codegen/data/${fractionalUcaSource.bundledFileName}').readAsBytesSync();
|
||||
|
||||
expect(allKeys.take(8), [0x1F, 0x8B, 0x08, 0, 0, 0, 0, 0]);
|
||||
expect(fractional.take(8), [0x1F, 0x8B, 0x08, 0, 0, 0, 0, 0]);
|
||||
|
||||
@@ -3,7 +3,7 @@ import 'dart:io';
|
||||
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
import '../../scripts/generate_hid_key_labels.dart';
|
||||
import '../../scripts/codegen/generate_hid_key_labels.dart';
|
||||
|
||||
void main() {
|
||||
late String validSource;
|
||||
|
||||
@@ -3,7 +3,7 @@ import 'dart:io';
|
||||
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
import '../../scripts/generate_iso_639_data.dart';
|
||||
import '../../scripts/codegen/generate_iso_639_data.dart';
|
||||
|
||||
void main() {
|
||||
late String validSource;
|
||||
|
||||
@@ -3,7 +3,7 @@ import 'dart:io';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:path/path.dart' as path;
|
||||
|
||||
import '../../scripts/upload_symbols.dart';
|
||||
import '../../scripts/release/upload_symbols.dart';
|
||||
|
||||
void main() {
|
||||
late Directory repository;
|
||||
|
||||
Reference in New Issue
Block a user