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

Ask what compilers the user would like us to use? #8

Open
robsimmons opened this issue Oct 28, 2011 · 1 comment
Open

Ask what compilers the user would like us to use? #8

robsimmons opened this issue Oct 28, 2011 · 1 comment

Comments

@robsimmons
Copy link
Member

The code that makes the "config" file should probably ask the user for input. Here's the script I'm imagining; I'll do it this weekend if this is agreeable to everyone.

NOTICE: No config file, trying to create /Users/rjsimmon/.smackage/config
NOTICE: To do this, I need to ask you a few questions.
Do you have "mlton" (MLton) installed and on your search path? [Y/n]: Y
Do you have "sml" (SML/NJ) installed and on your search path? [Y/n]: Y
Would you like "mlton" to be the default compiler? [Y/n]: n
MLton and SML/NJ enabled, SML/NJ will be the default compiler.
You can change these settings by editing /Users/rjsimmon/.smackage/config
NOTICE: No config file, trying to create /Users/rjsimmon/.smackage/config
NOTICE: To do this, I need to ask you a few questions.
Do you have "mlton" (MLton) installed and on your search path? [Y/n]: n
Do you have "sml" (SML/NJ) installed and on your search path? [Y/n]: Y
MLton enabled as the default compiler.
You can change these settings by editing /Users/rjsimmon/.smackage/config
NOTICE: No config file, trying to create /Users/rjsimmon/.smackage/config
NOTICE: To do this, I need to ask you a few questions.
Do you have "mlton" (MLton) installed and on your search path? [Y/n]: n
Do you have "sml" (SML/NJ) installed and on your search path? [Y/n]: n
WARNING: No default compiler, smackage will only be able to download code.
You can change these settings by editing /Users/rjsimmon/.smackage/config
@ghost ghost assigned robsimmons Oct 28, 2011
@robsimmons
Copy link
Member Author

(This is much less important now given the intended resolution of issue #10)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant