Remove unnecessary stuff (#1015)

* Remove licenses for previously bundled packages

* Remove utils module with duplicate function

* Remove unused function check_reqs.check_ant

* Remove unused test helper
This commit is contained in:
Raphael von der Grün
2020-07-03 18:53:10 +02:00
committed by GitHub
parent 3204b9804b
commit d86cb99dd5
6 changed files with 2 additions and 275 deletions
-12
View File
@@ -98,18 +98,6 @@ module.exports.get_target = function () {
return target;
};
// Returns a promise. Called only by build and clean commands.
module.exports.check_ant = function () {
return execa('ant', ['-version']).then(({ stdout: output }) => {
// Parse Ant version from command output
return /version ((?:\d+\.)+(?:\d+))/i.exec(output)[1];
}).catch(function (err) {
if (err) {
throw new CordovaError('Failed to run `ant -version`. Make sure you have `ant` on your $PATH.');
}
});
};
module.exports.get_gradle_wrapper = function () {
var androidStudioPath;
var i = 0;