newBazelBuildFile method

File newBazelBuildFile(
  1. String directoryPath,
  2. String content
)

Creates a new Bazel BUILD file at directoryPath with content.

Implementation

File newBazelBuildFile(String directoryPath, String content) {
  String filePath = join(directoryPath, file_paths.blazeBuild);
  return newFile(filePath, content);
}