blockbench icon indicating copy to clipboard operation
blockbench copied to clipboard

Enhancement: Remove hard-coded stuff and use configuration file(s) instead

Open herrBez opened this issue 7 years ago • 4 comments

The project is very difficult to configure (indeed I am having a very hard time): it is due on the one hand to the repetition of environment declarations and on the other hand to the plenty of hard-coded configuration variables (e.g., dinhtta repeated in all files).

Therefore, it would be very helpful to adhere to the DRY principle and therefore avoid repetition and redeclaration of variables and hardcoded stuff. I would suggest using only a single configuration file in which all configuration variables are defined or even multiple files and a standard format, e.g. json, and using a command line tool, such as jq to read the configuration data.

herrBez avatar May 31 '18 15:05 herrBez

totally agree with you!

phucnguyenit avatar Jun 04 '18 10:06 phucnguyenit

totally agree with you!

yamarkz avatar Jul 26 '18 10:07 yamarkz

see the new commits. We've removed some of the hardcoded stuff

ug93tad avatar Jul 31 '18 03:07 ug93tad

too hard to configure

yogesa avatar Oct 13 '22 06:10 yogesa