Skip to content
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

Support project-local ini files #468

Merged
merged 1 commit into from
Nov 24, 2023
Merged

Support project-local ini files #468

merged 1 commit into from
Nov 24, 2023

Conversation

strub
Copy link
Member

@strub strub commented Nov 24, 2023

EasyCrypt now reads project-local files for getting its configuration settings. This configuration file takes precedence over the system-level configuration file.

The project-local configuration file is named 'easycrypt.project'. It is identical to the system-level configuration file.

When compiling a file, the configuration file is searched upward from the target file directory. When ran in interactive mode, the configuration file is searched upward from the current working directory.

Note that when ProofGeneral starts EasyCrypt, the working directory is set to the directory of the focused file.

@strub strub added this to the Release 2023.11 milestone Nov 24, 2023
@strub strub self-assigned this Nov 24, 2023
@strub strub requested review from mbbarbosa and fdupress November 24, 2023 14:27
src/ec.ml Show resolved Hide resolved
EasyCrypt now reads project-local files for getting its configuration
settings. This configuration file takes precedence over the
system-level configuration file.

The project-local configuration file is named 'easycrypt.project'.  It
is identical to the system-level configuration file.

When compiling a file, the configuration file is searched upward from
the target file directory. When ran in interactive mode, the
configuration file is searched upward from the current working
directory.

Note that when ProofGeneral starts EasyCrypt, the working directory is
set to the directory of the focused file.
Copy link
Member

@fdupress fdupress left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@strub strub merged commit 67049fa into main Nov 24, 2023
7 checks passed
@strub strub deleted the simple-projects branch November 24, 2023 17:23
jjanku added a commit to jjanku/jasmin-zk that referenced this pull request Sep 10, 2024
The configuration follows the one specified in Makefile.

Also see: EasyCrypt/easycrypt#468
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants