Search code examples
buildr

local properties file for buildr


the buildr docs suggest using profiles.yaml for managing settings. however, i would like a way to define settings which an individual dev would use to run locally and thus shouldn't be in scm. is there a preferred way of doing this?


Solution

  • FWIW, I ended up with:

    path = File.dirname(@application.rakefile)
    loc = YAML.load(File.read(File.join(path, "profiles.local.yml")))
    Buildr.settings.profiles.merge!(loc)