-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Argument in fpm for reading from config file #1827
Comments
I like this idea. This might cause some confusion with the existing I would like to find a way to present this feature to folks without that confusion. Any thoughts? Maybe Something that works today!Or, for something that works today, we could use the Here's an example using FPMOPTS:
With the above example, you could have per-package files, and replace:
This trick uses a shell feature where Thoughts? |
Sorry for the long wait for a reply! I think making it an argument like Thank you for the 'what works today' section as well, much appreciated! |
I found a way to possibly make this work as a flag in fpm: #1902 (comment) No promises on when/if it'll get implemented, but the prototype looks promising to me :) |
Fixed, I hope, by #1905 which adds |
fpm 1.15.0 released with this new |
Hello,
As far as I can see, fpm can read in from a ".fpm" file in the local directory for getting it's command line arguments. Is there a way to specify an arbiraty confile file rather than just the ".fpm" file? - I'd like to be able to maintain lots of similar config files in the same place. e.g. I could call fpm with
where package1.config and package2.config are distinct ".fpm" files. This would help make things easier to automate for building many packages.
Thank you!
The text was updated successfully, but these errors were encountered: