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

[ocaml-install]: Add ocaml-install component/view + wire up to engine #68

Open
Tracked by #61
dmmulroy opened this issue Jan 9, 2024 · 0 comments
Open
Tracked by #61
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@dmmulroy
Copy link
Owner

dmmulroy commented Jan 9, 2024

Parent #61

We want to create our component and view for this ticket. Good examples to look at would be env_check/.re, init/wizard.re, inti/scaffold.re.

The component should run the following checks (some of which are already implemented in src/core and publicly exposed via src/core/engine

  1. Validate that a dune-project file exists in the current directory
  2. Update the dune-project section to append the new dependency (this will need implemented as a new "process" in src/core/dune.ml See #: TODO
  3. Run eval $(opam env)
  4. Run dune b @install
  5. Run opam update
  6. Run opam install . --deps-only --yes
@dmmulroy dmmulroy added help wanted Extra attention is needed good first issue Good for newcomers labels Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant