-
Notifications
You must be signed in to change notification settings - Fork 1
Various minor fixes and documentation #17
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
Conversation
Maintainers are expected to only modify flake.nix. While the url url of the completion script isn't expected to change (unless Tarides adopts the project), the goal of this change is to make it clear to maintainers where the completion script comes from. Signed-off-by: Stephen Sherratt <[email protected]>
Passing `completion = null;` to dune.nix causes the dune package to be built without a completion script. Signed-off-by: Stephen Sherratt <[email protected]>
Signed-off-by: Stephen Sherratt <[email protected]>
README.md
Outdated
| tag of Dune included in the release. | ||
|
|
||
| Dune does not contain a mechanism for generating its own completion script. The | ||
| completion script is generated using a semi-manual process. Dune use the |
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.
| completion script is generated using a semi-manual process. Dune use the | |
| completion script is generated using a semi-manual process. Dune uses the |
README.md
Outdated
| completion script is generated using a semi-manual process. Dune use the | ||
| [cmdliner](https://github.com/dbuenzli/cmdliner) library for its CLI which | ||
| currently lacks the ability to generate shell completion scripts. To generate | ||
| shell completion scripts for Dune, replace its usage of cmdliner with an |
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.
| shell completion scripts for Dune, replace its usage of cmdliner with an | |
| shell completion scripts for Dune, we replace its usage of cmdliner with an |
README.md
Outdated
|
|
||
| ## Completion Script | ||
|
|
||
| [This repo](https://github.com/gridbugs/dune-completion-scripts) contains bash |
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.
I initially thought 'this' referred to this repo, so
| [This repo](https://github.com/gridbugs/dune-completion-scripts) contains bash | |
| The [gridbugs/dune-completion-scripts repo](https://github.com/gridbugs/dune-completion-scripts) contains bash |
| updated in place which is not ideal. Currently the install script doesn't | ||
| attempt to verify the checksum of the binary distro but if we ever add that |
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.
I guess we should probably do this before long? It seems like best practice right? Maybe we could wait until someone asks for it tho?
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.
It is the best practice, yes. The benefit of not doing it is that it gives the flexibility to make changes to the contents of the binary distro which is useful while we're still ironing out the kinks. I'm happy to wait until someone asks for it before doing it.
Signed-off-by: Stephen Sherratt <[email protected]>
No description provided.