In the cake script, when using the load directive (#load), can this be optional? If the referenced file does not exist, I do not want the CAKE script to return an exception.
The documentation refers to the use of '?' to try to download, but even with this I get exceptions if the file does not exist.
#load "local:?path=properties.cake";
But in the output, I get an error:
Analyzing build script... Error: Could not find script 'C:/projects/my-project/properties.cake'.
The CAKE script is common to many projects, only some of which will have an additional file, hence the question.
thanks
source share