-
Notifications
You must be signed in to change notification settings - Fork 112
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
Using the amper branch, how do we run specific fun main
from specific files?
#29
Comments
To use Amper, rely on a dedicated fork project linked in README: Note There is a fork of this repository available that utilizes the Amper tool for project configuration, recently introduced by JetBrains. For more, see Advent of Code Kotlin Template — Amper project. |
Note, for Amper, there's a requirement of using the latest Fleet/IntelliJ IDEA: Warning Amper is supported since IntelliJ IDEA No extra configuration is required. |
Or maybe, like me, you used the Amper template to create your repo before the |
It was not the fleet version, nor me forking too late unfortunately. Basically Márton had to run the task on IntelliJ first, to get a configuration auto-generated, then copied that to a fleet configuration, which setup the right flags etc. Good to note that when I try to do this "Copy configuration" I get nothing on my clipboard, so without this help, unless I wrote the configuration file myself manually I would not have succeeded in making this run. I don't see people who fork this project (the amper one) to also be able to quickly figure out that they have to add a run.json which looks smth like this
Maybe that should be part of the readme? If not just straight up checked into git completely, like the entire .fleet directory. |
The README seems to imply that there should be a green play button next to it. When using Fleet, that does not seem to exist. Is that something that should be there, something that should be written in a custom fleet run.json, or what should one have to do in order to not have to use IntelliJ for this?
The text was updated successfully, but these errors were encountered: