Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Configuration file for command-line options

I’d like all modules in my Agda library to be compiled with the --prop command-line option. Is there some configuration file where I can put default options for my library?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

You should be able to use the flags: field in the library’s .agda-lib.
The test case for the feature is precisely --prop: https://github.com/agda/agda/blob/ebf922e06c3d1e86ae3cd4cc99cbe9ac8bc5648a/test/Succeed/default-flags/lib.agda-lib

It’s all in the manual: https://agda.readthedocs.io/en/v2.6.2/tools/package-system.html#library-files

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading