-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global configuration file #551
Comments
So if I would like to set by default a certain profile (say |
As a user specific file, settings there should not be crucial for successfully building a project. I think a default profile or compiler could be borderline, but I wouldn't rule those out completely. In any case we have to design it very carefully. |
Will submit a patch for this as follow-up for #549 |
.The metadata created by "fpm new" would be nice. I was playing with a TOML file for that and got sidetracked I would like to have defaults for at least
if that has not already been considered, and the default install directory; and I think the compiler would be nice as long as FPM_COMPILER overrides it or use of environment variables is not turned off. |
Curious if you are thinking of serial data like fpm.toml file or something that would allow conditionals and aliases or something like the response files too? |
It might be a good point to think about having a global configuration file for fpm in
~/.fpmconfig
or~/.config/fpm/config.toml
. This would allow to set global options which do not affect how packages are built, but how fpm interacts with the user or environment.For example it would allow to disable using environment variables in fpm for compiler detection if this is an unwanted feature for some user or to enable colored output.
The text was updated successfully, but these errors were encountered: