Open ajhager opened 11 years ago
if we make template easily configurable in one place, we will be able to use activator templates and this will lower the barrier to pretty good enough level - and I think we might be able to generate activator template from g8 as well to keep two in sync (activator is now open source iirc).
I recently tried to get set up on a clean windows install and it was a frustrating experience. I also want to make sure that everything works with at least one major IDE, since that seems more common and expected on Windows.
I think https://github.com/ajhager/libgdx-sbt-project.g8/issues/59 will be of tremendous help here. It would allow us to largely separate IDE issues and template generating issues from this template itself. Also, if libgdx-sbt was configurable on runtime and easily added as sbt plugin, deploying trough mentioned earlier Activator will be nice alternative to g8 on Windows.
Also, hmm... if we had https://github.com/ajhager/libgdx-sbt-project.g8/issues/48 we could just zip empty project and people could configure it there, it would remove the need to use g8, conscript and git if someone does not have them.
I have just installed & used this template on Windows 8.1. (And imported the project in IntelliJ Idea) But I have to admit — this process is not easy for everyone...
How about publishing zipped snapshots of already generated template (with defaults)?
That could work. We could also package up a snapshot that has g8, the template, and simple (.sh and .bat) scripts that run g8 on the template with a user given project directory. That way they could still customize the build.
at least I think it's lot simpler than Activator template, which would be totally different animal.
Right now you have to install Conscript, then giter8, then sbt, (not to mention git must also be installed,) and then run a command you might not quite understand the semantics of, just to get an empty project. It would be nice if someone could just download a script and run it. This is especially important when you are trying to convince a client that Scala would be a more efficient choice for game development.
I'd like to use the play framework's 'play' command as inspiration.