cake-build/cake

Look for cake.ini instead of cake.config

Open

#1.911 aberto em 4 de nov. de 2017

Ver no GitHub
 (15 comments) (2 reactions) (0 assignees)C# (738 forks)batch import
Help wantedImprovementUp-for-grabs

Métricas do repositório

Stars
 (3.742 stars)
Métricas de merge de PR
 (Mesclagem média 1d 1h) (25 fundiu PRs em 30d)

Description

The current format for the Cake configuration file cake.config is that of the INI file format. Its .config extension makes many text editors syntax highlight it wrong, or report errors, or as Visual Studio does, both,

cake.config

cake.ini

I propose to either,

  • Change the name of the configuration file that Cake looks for, from cake.config to cake.ini, or (as this would require projects with unpinned versions of Cake to rename their files after updating / bootstrapping),

  • Make Cake look for both cake.config and cake.ini files, with preference being for the latter, and a warning being emitted if it detects the former.

Guia do colaborador