Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] Config file name and file format #90

Open
juev opened this issue Nov 4, 2018 · 1 comment
Open

[question] Config file name and file format #90

juev opened this issue Nov 4, 2018 · 1 comment

Comments

@juev
Copy link
Contributor

juev commented Nov 4, 2018

Currently we have config file with default name: config

Each file, in contrast with folder have extension. And extension show as what content this file have.
Why config file by default do not have extension?

We have some issue with default name, for example if we have config file with default name, we cannot create directory with name config. I think if we will add extension for default config file name, it's will resolve this issue.

Next one, our config file have a custom format. We use tab character as space. If we insert space character, gostatic cannot parse this file. Maybe we can use TOML format or YAML format for our config file?

What do you think?

We can add new format for our config file, for example YAML, it can resolve issue with TAB characters in config file, and added extension for config file. We can use this format and filename as default, and use current format and filename as option, not to break compatibility.

@piranha
Copy link
Owner

piranha commented Nov 4, 2018

I really don't want to switch to YAML, which is a one of the worst human-readable syntaxes. Also, current name and format is modeled after Makefile (see, no extension).

In other words, current situation is not accidental, it's how I want it to be. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants