cake-build/cake

Look for cake.ini instead of cake.config

Open

#1,911 建立於 2017年11月4日

在 GitHub 查看
 (15 留言) (2 反應) (0 負責人)C# (738 fork)batch import
Help wantedImprovementUp-for-grabs

倉庫指標

Star
 (3,742 star)
PR 合併指標
 (平均合併 1天 1小時) (30 天內合併 25 個 PR)

描述

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.

貢獻者指南