cake-build/cake

Look for cake.ini instead of cake.config

Open

#1911 aperta il 4 nov 2017

Vedi su GitHub
 (15 commenti) (2 reazioni) (0 assegnatari)C# (738 fork)batch import
Help wantedImprovementUp-for-grabs

Metriche repository

Star
 (3742 star)
Metriche merge PR
 (Merge medio 1g 1h) (25 PR mergiate in 30 g)

Descrizione

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.

Guida contributor