]> _ Git - alire.git/commit
Alire.Crate.Configuration: disable style checks in generated code (#1047)
authorFabien Chouteau <Fabien-Chouteau@users.noreply.github.com>
Wed, 8 Jun 2022 09:24:39 +0000 (11:24 +0200)
committerGitHub <noreply@github.com>
Wed, 8 Jun 2022 09:24:39 +0000 (11:24 +0200)
commit877ef2298cd92999aab9b3f7fdcb9e03e2fb5142
tree992711f240b9a2dd56cc67c24009062c6fc410ca
parent579db2cbc9d84280bd71d80f3e35d2254d873e43
Alire.Crate.Configuration: disable style checks in generated code (#1047)

With the current style checks it is easy to break coding style by having
to many values in an enum for instance.

In theory we could generate better code for enums. But since users can
use their own coding style, it is impossible to be compatible with in
every situation.

So the best option is to disable all checks for this file.
src/alire/alire-crate_configuration.adb
testsuite/tests/crate_config/style_checks_off/my_index/hello_src/hello_world.gpr [new file with mode: 0644]
testsuite/tests/crate_config/style_checks_off/my_index/hello_src/src/hello_world.adb [new file with mode: 0644]
testsuite/tests/crate_config/style_checks_off/my_index/index/he/hello_world/hello_world-0.1.0.toml [new file with mode: 0644]
testsuite/tests/crate_config/style_checks_off/my_index/index/index.toml [new file with mode: 0644]
testsuite/tests/crate_config/style_checks_off/test.py [new file with mode: 0644]
testsuite/tests/crate_config/style_checks_off/test.yaml [new file with mode: 0644]