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

Loading current sbt project in ammonite repl like "sbt console" in current project directory #310

Closed
pamu opened this Issue Dec 21, 2015 · 4 comments

Comments

Projects
None yet
4 participants
@pamu

pamu commented Dec 21, 2015

sbt console in the current sbt project loads the project into to the repl. Is it possible to do the same with ammonite repl as well.

something like this

sbt console

output: loading current sbt project ....
similarly

amm console

output: loading current sbt project....

@lihaoyi

This comment has been minimized.

Owner

lihaoyi commented Dec 23, 2015

This is probably made redundant by the fact you can already run Ammonite in any SBT project pretty trivially

http://lihaoyi.github.io/Ammonite/#Ammonite-REPL

@lihaoyi lihaoyi closed this Dec 23, 2015

@pamu

This comment has been minimized.

pamu commented Dec 24, 2015

thanks 👍

@prozz

This comment has been minimized.

prozz commented Apr 24, 2018

@lihaoyi i dont think its trivial, i just failed to do this with use of docs description (probably dont know sbt enough and got multi-module project here). while searching for solution to the problem found this ticket.

i think you should reevaluate this feature request. easier level of entry is always welcome i guess.

regards

@estsauver

This comment has been minimized.

estsauver commented Jul 20, 2018

Another thought: It would be very nice to be able to say "Run this script in the context of this sbt project."

import $sbt:~/Dev/myrepo/

would be very exciting.

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