From 06891d36b87d76d67fb24e83a3c6a1812f2f74e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 5 Jul 2024 16:23:59 +0200 Subject: [PATCH] Add a comment for empty dist files This is to have something to search for, and another step towards always having a dist file. --- features/avif.yml.dist | 2 ++ features/http2.yml.dist | 6 ++++++ features/http3.yml.dist | 6 ++++++ features/intersection-observer-v2.yml.dist | 6 ++++++ features/jpegxl.yml.dist | 6 ++++++ features/mathml.yml.dist | 6 ++++++ features/notifications.yml.dist | 6 ++++++ features/scroll-to-text-fragment.yml.dist | 6 ++++++ features/webdriver-bidi.yml.dist | 6 ++++++ features/webp.yml.dist | 6 ++++++ scripts/dist.ts | 4 ++++ 11 files changed, 60 insertions(+) create mode 100644 features/http2.yml.dist create mode 100644 features/http3.yml.dist create mode 100644 features/intersection-observer-v2.yml.dist create mode 100644 features/jpegxl.yml.dist create mode 100644 features/mathml.yml.dist create mode 100644 features/notifications.yml.dist create mode 100644 features/scroll-to-text-fragment.yml.dist create mode 100644 features/webdriver-bidi.yml.dist create mode 100644 features/webp.yml.dist diff --git a/features/avif.yml.dist b/features/avif.yml.dist index 0c667913962..d2181da1f34 100644 --- a/features/avif.yml.dist +++ b/features/avif.yml.dist @@ -2,3 +2,5 @@ # Do not edit this file by hand. Edit the source file instead! {} + +# Nothing is generated, nothing to see here. diff --git a/features/http2.yml.dist b/features/http2.yml.dist new file mode 100644 index 00000000000..51a30057086 --- /dev/null +++ b/features/http2.yml.dist @@ -0,0 +1,6 @@ +# Generated from: http2.yml +# Do not edit this file by hand. Edit the source file instead! + +{} + +# Nothing is generated, nothing to see here. diff --git a/features/http3.yml.dist b/features/http3.yml.dist new file mode 100644 index 00000000000..04e524f40e0 --- /dev/null +++ b/features/http3.yml.dist @@ -0,0 +1,6 @@ +# Generated from: http3.yml +# Do not edit this file by hand. Edit the source file instead! + +{} + +# Nothing is generated, nothing to see here. diff --git a/features/intersection-observer-v2.yml.dist b/features/intersection-observer-v2.yml.dist new file mode 100644 index 00000000000..7794f1674a4 --- /dev/null +++ b/features/intersection-observer-v2.yml.dist @@ -0,0 +1,6 @@ +# Generated from: intersection-observer-v2.yml +# Do not edit this file by hand. Edit the source file instead! + +{} + +# Nothing is generated, nothing to see here. diff --git a/features/jpegxl.yml.dist b/features/jpegxl.yml.dist new file mode 100644 index 00000000000..d98f2ee9ebf --- /dev/null +++ b/features/jpegxl.yml.dist @@ -0,0 +1,6 @@ +# Generated from: jpegxl.yml +# Do not edit this file by hand. Edit the source file instead! + +{} + +# Nothing is generated, nothing to see here. diff --git a/features/mathml.yml.dist b/features/mathml.yml.dist new file mode 100644 index 00000000000..830e7c72551 --- /dev/null +++ b/features/mathml.yml.dist @@ -0,0 +1,6 @@ +# Generated from: mathml.yml +# Do not edit this file by hand. Edit the source file instead! + +{} + +# Nothing is generated, nothing to see here. diff --git a/features/notifications.yml.dist b/features/notifications.yml.dist new file mode 100644 index 00000000000..345f6420061 --- /dev/null +++ b/features/notifications.yml.dist @@ -0,0 +1,6 @@ +# Generated from: notifications.yml +# Do not edit this file by hand. Edit the source file instead! + +{} + +# Nothing is generated, nothing to see here. diff --git a/features/scroll-to-text-fragment.yml.dist b/features/scroll-to-text-fragment.yml.dist new file mode 100644 index 00000000000..1b83bb89d0d --- /dev/null +++ b/features/scroll-to-text-fragment.yml.dist @@ -0,0 +1,6 @@ +# Generated from: scroll-to-text-fragment.yml +# Do not edit this file by hand. Edit the source file instead! + +{} + +# Nothing is generated, nothing to see here. diff --git a/features/webdriver-bidi.yml.dist b/features/webdriver-bidi.yml.dist new file mode 100644 index 00000000000..5a7ec62e408 --- /dev/null +++ b/features/webdriver-bidi.yml.dist @@ -0,0 +1,6 @@ +# Generated from: webdriver-bidi.yml +# Do not edit this file by hand. Edit the source file instead! + +{} + +# Nothing is generated, nothing to see here. diff --git a/features/webp.yml.dist b/features/webp.yml.dist new file mode 100644 index 00000000000..bc17e44bba2 --- /dev/null +++ b/features/webp.yml.dist @@ -0,0 +1,6 @@ +# Generated from: webp.yml +# Do not edit this file by hand. Edit the source file instead! + +{} + +# Nothing is generated, nothing to see here. diff --git a/scripts/dist.ts b/scripts/dist.ts index 01400f29277..523f842c2d5 100644 --- a/scripts/dist.ts +++ b/scripts/dist.ts @@ -216,6 +216,10 @@ function toDist(sourcePath: string): YAML.Document { insertCompatFeatures(dist, sortedGroups); } + if (dist.contents.items.length === 0) { + dist.comment = ' Nothing is generated, nothing to see here.' + } + return dist; }