Remove Ant custom build directories

This commit is contained in:
Ian Clelland
2014-06-05 12:59:57 -04:00
parent b42faea2eb
commit 7e9fdb3555
3 changed files with 5 additions and 40 deletions
+3 -1
View File
@@ -89,7 +89,9 @@ function runAndroidUpdate(projectPath, target_api, shared) {
function copyAntRules(projectPath) {
var srcDir = path.join(ROOT, 'bin', 'templates', 'project');
shell.cp('-f', path.join(srcDir, 'custom_rules.xml'), projectPath);
if (fs.existsSync(path.join(srcDir, 'custom_rules.xml'))) {
shell.cp('-f', path.join(srcDir, 'custom_rules.xml'), projectPath);
}
}
function copyScripts(projectPath) {