mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-13 16:03:43 +00:00
What is the purpose?
Running ./save_dart_keywords.sh
from this directory will generate dart-keywords.txt
which contains the current Dart keywords and is used by the dart generator as a set of reserved words.
When should the keywords be generated?
save_dart_keywords.sh
should be run when a new version of Dart is released to update the keywords file.
The last Dart version that was used to generate the keywords can be found in dart-version.txt
.
What does the shell script do?
-
run the dart app
dart run save-dart-keywords.dart
-
the output is
dart-keywords.txt
anddart-version.txt