From 5b7497d2d09c9aab5bb3ccbacf4d2590eb25e74b Mon Sep 17 00:00:00 2001 From: Ty Smith Date: Thu, 12 Oct 2023 18:35:49 -0700 Subject: [PATCH] Delete tmp file and .bak file for android lint runs (#980) --- .../com/uber/okbuck/template/config/OkbuckTargets.rocker.raw | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/buildSrc/src/main/rocker/com/uber/okbuck/template/config/OkbuckTargets.rocker.raw b/buildSrc/src/main/rocker/com/uber/okbuck/template/config/OkbuckTargets.rocker.raw index a4b34162..bf88d0ad 100644 --- a/buildSrc/src/main/rocker/com/uber/okbuck/template/config/OkbuckTargets.rocker.raw +++ b/buildSrc/src/main/rocker/com/uber/okbuck/template/config/OkbuckTargets.rocker.raw @@ -187,7 +187,9 @@ def okbuck_lint( cmd += "--fullpath " cmd += "{} `dirname {}` >$LOGFILE 2>/dev/null; ".format(" ".join(lint_options), toLocation(manifest)) - cmd += "rm $CP_FILE; " + + #Delete tmp file and tmp.bak file + cmd += "rm $CP_FILE*; " native.genrule( name = name,