]> _ Git - alire.git/commit
alr init: add compiler option controls to template project (#523)
authorFabien Chouteau <Fabien-Chouteau@users.noreply.github.com>
Mon, 14 Sep 2020 16:19:05 +0000 (18:19 +0200)
committerGitHub <noreply@github.com>
Mon, 14 Sep 2020 16:19:05 +0000 (18:19 +0200)
commit74788266893d4f22a5c3d3fc67211e4b394ba5e4
treefb722dd803f116fc332e6baac7cce029661ffd7a
parent21d2c0bdd8815b5c057a3b90806b34b7808f2ef0
alr init: add compiler option controls to template project (#523)

* alr init: add compiler option controls to template project

User can control compile checks, run-time checks, contracts, style
checks.

* Testsuite: fix Ada coding style in tests

* Alr.Commands.Init: use UNIX line ending on all generated source code

To pass default GNAT style checks.

* Update alr-commands-init.adb

Alr.Commands.Init: fix line ending by using file IO binary mode

* Alr.Commands.Init: rever line ending changes and just remove the check

Git is messing with line ending on Windows so trying to produce UNIX files is more difficult than planned.

Instead the DOS line terminator style check is disabled.
src/alr/alr-commands-init.adb
testsuite/tests/with/auto-gpr-with/basic/test.py
testsuite/tests/workflows/init-with-pin/test.py