-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
simple scripts to run non-bootstrapped compiler after 'sbt buildQuick' #19894
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like this (I guess obligatory "what about windows users" - but not a requirement )
I missed your review, thanks @bishabosha. I added a paragraph to docs/_docs/contributing/getting-started.md. |
In the current approach, An alternative would be to make |
ok so the idea is for the user to replace compile command with buildQuick, when working with these scripts, I guess that makes sense |
For what it's worth, if you have sbt already started somewhere, you can do |
👍🏼 I've missed these, particularly because once I have the scripts I can run scalac on different files in parallel, while even with sbtn I can only run scalac serially. |
d22e715
to
9ba2ec8
Compare
Removed |
@bishabosha happy to merge this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could probably use a follow up PR to trap exit signals and cleanup like you see in dist/bin
, but as its for testing its fine
The current scripts in
bin
are not suitable for iterative development, as they invokesbt dist/pack
whenever any source file has a newer timestamp. Also they are full of magic which I don't think I need for compiler development.I know there are
repl
/scala
/scalac
sbt tasks, but I highly prefer working in zsh versus sbt shell, for example because I cancd
to asandbox
directory. Then I runscq A.scala
,cfr-decompiler A.class
, stuff like that.This PR is a proposal, I'm curious if anyone else would find it useful.