Just start learning scala for a new project. So much so that I would like to define different property files for different environments in which the application will work, ideally similar to Rails - a very lightweight, only one properties file for each environment, loaded based on its name. I don't care if this is a java, YML or scala property file.
In the spirit of not reinventing the wheel, I was looking to see if there was any standard way for scala to do this, but I couldn’t find it, I found several similar but not identical questions here when people suggest using system properties when running a script, but it seems that it will become a nightmare.
I could obviously realize it, if necessary, but feels like a thing that should already exist. So is that?
I use sbt if that matters.
source share