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

Force opam + env config init to give a bash like output in /scripts/setup.py #761

Closed
wants to merge 1 commit into from

Conversation

WangGithubUser
Copy link
Contributor

@WangGithubUser WangGithubUser commented Jul 22, 2023

Pre-submission checklist

  • I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running pip install -r requirements-dev.txt && pre-commit install
  • pre-commit run

Summary

This is an improvement to #759 .
I did some refactoring(because we need to know what commands we are running in function get_opam_command) of the Setup class to keep it stateless.

Test Plan

@WangGithubUser WangGithubUser changed the title Force opam env to give a bash like output in /scripts/setup.py Force opam + env config init to give a bash like output in /scripts/setup.py Jul 24, 2023
@WangGithubUser
Copy link
Contributor Author

Resolved in b112c7c, I will close this.

@WangGithubUser WangGithubUser deleted the Fix_output branch July 25, 2023 00:25
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.

2 participants