refactor!: remove most platform binaries (#1100)

* Remove binaries cordova/lib/*

* Remove binary bin/android_sdk_version

* Remove binary bin/update script

* Remove binary bin/check_reqs

* Remove binary bin/create script

* Remove binary cordova/build

* Remove binary cordova/run

* Remove binary cordova/clean

* Remove binary cordova/log

* Remove unused module cordova/loggingHelper

* Update README

* Restore target-listing binaries used by CLI

Usage: cordova-lib/src/cordova/targets.js

* Restore binary bin/android_sdk_version for CLI compatibility

This is used in CLI to implement an Android SDK version check for plugins.
See https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#engines-and-engine

* Remove version.bat
This commit is contained in:
Raphael von der Grün
2021-07-06 15:37:46 +02:00
committed by GitHub
parent 6f35d0b2b7
commit facffb0809
36 changed files with 19 additions and 1016 deletions
-10
View File
@@ -80,14 +80,4 @@ describe('run', () => {
.toBeRejectedWith(jasmine.stringMatching(/Package type "bundle" is not supported/));
});
});
describe('help', () => {
it('should print out usage and help', () => {
spyOn(console, 'log');
spyOn(process, 'exit');
run.help();
expect(console.log).toHaveBeenCalledWith(jasmine.stringMatching(/^Usage:/));
});
});
});