give file path in :ressource-paths
nha opened this issue · 3 comments
nha commented
I end up with the following structure :
config
├── dev
│ └── config.clj
├── prod
│ └── config.clj
...
There is only one file per folder. Why not specify a file path instead of a directory path ? What is the rationale behind it ?
Thanks
yogthos commented
It's just what I needed at the time, using the folder would make sense as well. The only trick would be in how you merge the config from different resources. If you'd like to update the library to work that way I'll take a pull request.
nha commented
@yogthos Thank you for the reply. I'll try to find a bit of time to have a look at this. Would you be against the inclusion of a library to check if the path is a directory or not (https://github.com/Raynes/fs) ?