apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.15k stars 987 forks source link

feat: add listTarget api & revert original bin file location #1320

Closed erisu closed 1 year ago

erisu commented 1 year ago

Platforms affected

n/a

Motivation and Context

Support calling for listTarget on the PlatformAPI. Will be used by Cordova CLI/Lib 12

Reverted the location of the binraries to the original location. Needed for older CLI versions.

Description

Added listTargets on platform api and added supporting methods in the run.js file

Testing

npm t

Checklist

codecov-commenter commented 1 year ago

Codecov Report

Merging #1320 (56c99a9) into master (1a5cd45) will increase coverage by 0.13%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1320      +/-   ##
==========================================
+ Coverage   78.51%   78.64%   +0.13%     
==========================================
  Files          15       15              
  Lines        1778     1789      +11     
==========================================
+ Hits         1396     1407      +11     
  Misses        382      382              
Impacted Files Coverage Δ
lib/Api.js 71.98% <100.00%> (+0.21%) :arrow_up:
lib/run.js 29.00% <100.00%> (+7.02%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more