Cake supports configuration in a cake.config file.
cake.config
Can I read my own config key/values from that file?
Cake has a method to retrieve those values.
Example:
[MyCustomConfig] Foo=Bar
build.cake
Information(Context.Configuration.GetValue("MyCustomConfig_Foo")); // Bar
(Note the underscore "_" - it isn't documented, so I hope it's reliable.)
"_"
Copyright © 2021 Jogjafile Inc.
Cake has a method to retrieve those values.
Example:
cake.configbuild.cake(Note the underscore
"_"- it isn't documented, so I hope it's reliable.)