feat: add listTarget api (#1602)

* feat: add listTarget api
* test: write Platform API target list specs
This commit is contained in:
エリス
2023-05-08 22:27:17 +09:00
committed by GitHub
parent cb48147398
commit 7da13ccf77
4 changed files with 97 additions and 0 deletions
+6
View File
@@ -277,6 +277,12 @@ class Api {
});
}
listTargets (options) {
return require('./check_reqs').check_android().then(() => {
return require('./run').runListDevices.call(this, options);
});
}
/**
* Cleans out the build artifacts from platform's directory, and also
* cleans out the platform www directory if called without options specified.