hasIgnore property
final
Check if the project .gitignore has an entry for the homebrew tap build folder
Implementation
static final bool hasIgnore = joinFile(
projectDir,
['.gitignore'],
).readAsLinesSync().contains('$buildFolder/');
Check if the project .gitignore has an entry for the homebrew tap build folder
static final bool hasIgnore = joinFile(
projectDir,
['.gitignore'],
).readAsLinesSync().contains('$buildFolder/');