Fabien Chouteau
Fabien Chouteau
`--recurse-all` could be understood as "build all dependencies recursively"?
> Perhaps we could reconsider our `alr build` defaults. For me it's counterintuitive that by default dependencies are built in release mode, as you lose many of the expected Ada...
> `alr build --profiles '*:development,some_crate:validation' That's the best option in my opinion. We can also accept shortcut names like `dev` = `development` to make things easier. > So after my...
> it's counterintuitive that the dependencies are always built in release mode, and I think it violates the law of least astonishment We are not equal in the astonishment department...
> I would add `-d` to the default Debug profile in Optimization. gprbuild's `-d Display compilation progress`? If yes, then it's not a compiler option, so outside the scope of...
> I think the word `standard` should be changed to `default` or `normal`, as those style checks are not a part of any Ada standard document. Indeed. > Are the...
> I meant `-g` for debug symbols in gcc, sorry for the confusion. As @Glacia suggested, we should probably have a category for debug info. Editing now.
> Should we have some mechanism in the global config for users to tweak their defaults? Maybe a `[build_profile]` that is copied by default during `alr init` if existing? Configuration...
Quick update: I made a first prototype in [this branch](https://github.com/alire-project/alire/tree/feat/build_profiles_m) that supports: ```toml [[depends-on]] lib_b = "~0.0.0" [build_profile] lib_b = "development" "*" = "validation" [build_switches] release.runtime_checks = "yes" release.contracts =...
> One question: as the profile is selected in the config file, I assumed that disabling configuration will disable updates to profiles, and my tests confirm this. Do we want...