refactor!: drop platform binaries#1180
Conversation
728558b to
178e2d0
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1180 +/- ##
==========================================
+ Coverage 74.95% 75.03% +0.07%
==========================================
Files 14 13 -1
Lines 1705 1650 -55
==========================================
- Hits 1278 1238 -40
+ Misses 427 412 -15 ☔ View full report in Codecov by Sentry. |
d2e5d83 to
1806649
Compare
b4eab8e to
d219894
Compare
d219894 to
2246228
Compare
- This file referenced a binary that hasnt existed since 2012. (apache@acc8b34)
a07d895 to
8d29122
Compare
|
Other binaries & scripts that will need reviewing... Maybe another PR?
I believe some of these could be removed and/or merged into some JS file(s) and exported. |
raphinesse
left a comment
There was a problem hiding this comment.
Great to see this happening. I left a few comments for now. Full review pending!
e26f64b to
ae71d97
Compare
ae71d97 to
381ed72
Compare
raphinesse
left a comment
There was a problem hiding this comment.
We should also remove hooks/ if we remove uncrustify.
The following bins are used outside of These are not used outside of cordova-ios and could be removed in this PR:
|
Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
|
Yes the pre-commit hook can be removed. I didn't notice it and it does not get runned. |
|
@raphinesse I will excluded Alternative message will need to be decided and maybe we could keep the script in some folder for handy scripts but not release it with the packages. |
I think the script and log message can both be removed without replacement. It's a python script that is supposed to convert Projects to the Cordova 2.3 format: But it might indeed be wise to do that in a separate PR and decide how to handle that whole if statement that is seemingly handling a very old legacy case. |
|
Yet another thing I noticed: we should be able to remove all remaining
Should we do that as well, then? |
|
Since we already removed it from the Android platform and released it, maybe it is safe to remove it from here as well? I wonder if anyone has any concerns, even though it was already removed in Android... If we remove it and later it is seen as an issue, we can easily add back as a patch release. |
|
I'd remove the bat files. That's my 2¢ |
|
OK, the three last bat files were removed:
|
* test(create): remove create & build binary usage * refactor!: remove create binaries * refactor!: remove build binaries * refactor: update platform * chore: cleanup update platform error message * refactor!: remove update binaries * refactor!: remove check_reqs binaries & usage * refactor!: remove clean binaries * refactor!: remove run binaries * refactor!: remove test binaries * This file referenced a binary that hasnt existed since 2012. (apache@acc8b34) * refactor!: remove log binaries * refactor: cleanup version binaries * refactor!: remove uncrustify binary & config * refactor!: remove binary help methods for build & run * refactor!: remove version.bat binary * fix: get realpathSync of os tmp dir * refactor: cleanup verify create & build methods * refactor(create.spec): use expectAsync toBeResolved * refactor!: remove uncrustify pre-commit hook * refactor!: remove list-emulator-build-targets binary * refactor!: remove list-started-emulators binary * refactor!: remove start-emulator binary * chore: cleanup eslint ignore * refactor!: remove bat files Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
Motivation and Context
This PR:
versionbinary.create.spec.jsto use JS methods for creating and building.Description
createbinariescreate.spec.jsbuildbinariescreate.spec.jsupdatebinariestestbinariescheck_reqbinariescleanbinarieslogbinariesrunbinariesversionbinariesuncrustifybinary & configlist-emulator-build-targetsbinarylist-started-emulatorsbinarystart-emulatorbinaryTesting
npm t10.0.0 (cordova-lib@10.1.0)cordova createcordova platform add ../cordova-ios-7.0.0-dev.tgzcordova platform update ../cordova-ios-7.0.0-dev.tgzcordova prepare ioscordova build ioscordova infocordova requirementscordova platformcordova run ioscordova plugin add cordova-plugin-deviceChecklist