-
Notifications
You must be signed in to change notification settings - Fork 483
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
Workarounds to make constitution executable optionally buildable. #6418
Conversation
0493eba
to
403dcc4
Compare
403dcc4
to
b7e817c
Compare
@@ -95,6 +95,14 @@ allow-newer: | |||
, inline-r:containers | |||
, inline-r:primitive | |||
|
|||
-- Uncomment the following lines to make cardano-constitution:create-json-envelope buildable:True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is probably a silly question, but is there no way to tell cabal to only build this if the user turns on some flag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question, but I don't know how 🤷♂️
## Building the script | ||
|
||
We have created an executable `create-json-envelope` to ease the creation of a constitution script. | ||
This executable is disabled by default; to enable it, uncomment the related lines inside this repo's `cabal.project`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a future plan to move this out of the repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
…tersectMBO#6418) Co-authored-by: Nikolaos Bezirgiannis <[email protected]>
Also I fixed and improved some comments in the constitution package.
Pre-submit checklist: