mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-22 00:32:55 +08:00
parent
a9a28d3e77
commit
e182e669f0
@ -87,9 +87,6 @@ function copyJsAndLibrary(projectPath, shared, projectName) {
|
|||||||
shell.cp('-f', path.join(ROOT, 'framework', 'build.gradle'), nestedCordovaLibPath);
|
shell.cp('-f', path.join(ROOT, 'framework', 'build.gradle'), nestedCordovaLibPath);
|
||||||
shell.cp('-f', path.join(ROOT, 'framework', 'cordova.gradle'), nestedCordovaLibPath);
|
shell.cp('-f', path.join(ROOT, 'framework', 'cordova.gradle'), nestedCordovaLibPath);
|
||||||
shell.cp('-r', path.join(ROOT, 'framework', 'src'), nestedCordovaLibPath);
|
shell.cp('-r', path.join(ROOT, 'framework', 'src'), nestedCordovaLibPath);
|
||||||
shell.cp('-f', path.join(ROOT, 'framework', 'gradlew'), nestedCordovaLibPath);
|
|
||||||
shell.cp('-r', path.join(ROOT, 'framework', 'gradle'), nestedCordovaLibPath);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -137,6 +134,7 @@ function copyBuildRules(projectPath) {
|
|||||||
var srcDir = path.join(ROOT, 'bin', 'templates', 'project');
|
var srcDir = path.join(ROOT, 'bin', 'templates', 'project');
|
||||||
|
|
||||||
shell.cp('-f', path.join(srcDir, 'build.gradle'), projectPath);
|
shell.cp('-f', path.join(srcDir, 'build.gradle'), projectPath);
|
||||||
|
shell.cp('-f', path.join(srcDir, 'wrapper.gradle'), projectPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
function copyScripts(projectPath) {
|
function copyScripts(projectPath) {
|
||||||
|
@ -83,7 +83,7 @@ describe('update', function() {
|
|||||||
describe('cleanup', function () {
|
describe('cleanup', function () {
|
||||||
|
|
||||||
it('Test#004 : remove cloned old platform', function() {
|
it('Test#004 : remove cloned old platform', function() {
|
||||||
//shell.rm('-rf', platformOld.path);
|
shell.rm('-rf', platformOld.path);
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user