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

Implement a .subrc file sourcing where EXX_INSTALL_PATH and EXX_SYMLINK_PATH can be specified as variables #4

Open
CaptainQuirk opened this issue Jan 27, 2016 · 0 comments

Comments

@CaptainQuirk
Copy link
Owner

  • Exx should test for the existence of a ~/.subrc file
  • The file can contain global variables declaration.
  • Variables to use in the install subcommand should be
    • EXX_INSTALL_PATH: for the path where the exx source should be moved
    • EXX_SYMLINK_PATH: for the path where the main executable should be symlinked
  • After sourcing the file, if those variables were set, use them directly
  • If not, prompt the user for those values and go on with the install process
  • At the end of the installation, advise the user to create the ~/.subrc file with the values he/she entered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant