mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
Remove Ant custom build directories
This commit is contained in:
+3
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user