CodePadawans / ataru

MIT License
37 stars 3 forks source link

Configuration file #68

Open schultyy opened 10 years ago

schultyy commented 10 years ago

As already suggested in #67, there should be a project related configuration file. This file can also define some settings only related to a certain project like:

moonglum commented 10 years ago

What format should that be? YAML? Ruby?

schultyy commented 10 years ago

Yaml is easy to process. JSON would also be fine. I would like to avoid XML ^^

schultyy commented 10 years ago

I would go for YAML

moonglum commented 10 years ago

:+1: for YAML :smile_cat: Then I vote for the file extension .yaml for that file.

schultyy commented 10 years ago

agreed :)

On 22 Sep 2014 at 17:12:50, Lucas Dohmen (notifications@github.com) wrote:

for YAML Then I vote for the file extension .yaml for that file.

— Reply to this email directly or view it on GitHub.

mmmries commented 10 years ago

After trying out this gem in my gem I think it would be best to put any configuration in the ataru_setup.rb file. You could provide a template when you generate that file and make it work in a very normal ruby way. I'm thinking of something like:

Ataru.configure do |c|
  c.exclude_files = ["docs/future_improvements.md"]
end

require 'minitest-pride'

Just my 2 :euro:

moonglum commented 10 years ago

Yep, that is what we discussed in #75 as well :smile: We should update that here!