duct-framework / duct

Server-side application framework for Clojure
MIT License
1.13k stars 51 forks source link

Config is not included correctly in (dev) when project name contain '-' #54

Closed quan-nh closed 7 years ago

quan-nh commented 7 years ago

I create new hello-duct project using lein command: lein new duct-alpha hello-duct, then lein duct setup. It generate dev.edn file like this:

{:duct.core/environment :development
 :duct.core/include ["hello-duct/config"]}

I think config path should be hello_duct/config, _ instead of -, so it could include config from resources.

weavejester commented 7 years ago

Yes, you're right. The namespace is placed here when it should be the path.