diff --git a/.pubignore b/.pubignore index e6ce7445..822ce691 100644 --- a/.pubignore +++ b/.pubignore @@ -586,4 +586,4 @@ new_version.sh example/ build/ *.iml - +tool/ diff --git a/packages/wyatt_analysis/README.md b/packages/wyatt_analysis/README.md index 6a8b0a9f..21175b9d 100644 --- a/packages/wyatt_analysis/README.md +++ b/packages/wyatt_analysis/README.md @@ -117,7 +117,7 @@ To indicate your project is using `wyatt_analysis` → [![style: wyatt analysis] When you want to create a new version of the plugin. Before any modification, execute the following command to create new files: ```sh -./tools/new_version.sh +./tool/new_version.sh ``` The previous version is automatically retrieved from the `pubspec.yaml` file. @@ -136,7 +136,7 @@ And update the following files: Then, you can use the following command to retrieve latest available lints from the official linter. ```sh -./tools/check_rules.sh +./tool/check_rules.sh ``` After that, you can modify the files `lib/analysis_options..yaml` and `lib/analysis_options.flutter..yaml` to add new lints or remove some. @@ -144,17 +144,17 @@ After that, you can modify the files `lib/analysis_options..yaml` and ` Then you can sort the lints with the following command: ```sh -./tools/sort_rules.sh +./tool/sort_rules.sh ``` Finally, you can generate the changelog with the following command: ```sh -./tools/generate_changelog.sh +./tool/generate_changelog.sh ``` The new version is automatically retrieved from the `pubspec.yaml` file. But **you have to specify** the previous version. ## Notes -You can explore every lint rules [here](https://dart.dev/tools/linter-rules). +You can explore every lint rules [here](https://dart.dev/tool/linter-rules). diff --git a/packages/wyatt_analysis/tools/check_rules.sh b/packages/wyatt_analysis/tool/check_rules.sh similarity index 100% rename from packages/wyatt_analysis/tools/check_rules.sh rename to packages/wyatt_analysis/tool/check_rules.sh diff --git a/packages/wyatt_analysis/tools/generate_changelog.sh b/packages/wyatt_analysis/tool/generate_changelog.sh similarity index 100% rename from packages/wyatt_analysis/tools/generate_changelog.sh rename to packages/wyatt_analysis/tool/generate_changelog.sh diff --git a/packages/wyatt_analysis/tools/new_version.sh b/packages/wyatt_analysis/tool/new_version.sh similarity index 100% rename from packages/wyatt_analysis/tools/new_version.sh rename to packages/wyatt_analysis/tool/new_version.sh diff --git a/packages/wyatt_analysis/tools/sort_rules.sh b/packages/wyatt_analysis/tool/sort_rules.sh similarity index 100% rename from packages/wyatt_analysis/tools/sort_rules.sh rename to packages/wyatt_analysis/tool/sort_rules.sh