Skip to content

Commit

Permalink
Updated Kdocs for CoverageReporter with changes to providing proto pa…
Browse files Browse the repository at this point in the history
…ths as list.txt file
  • Loading branch information
Rd4dev committed Aug 13, 2024
1 parent 0f051a5 commit da05cf1
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,16 @@ const val BOLD = "\u001B[1m"
*
* Arguments:
* - path_to_root: directory path to the root of the Oppia Android repository.
* - text_file_with_list_of_coverage_data_proto_paths: the text file that contains the list of
* relative path to the proto files with coverage report data to analyse coverage.
* - text_file_with_list_of_coverage_data_proto_paths: the text file that contains
* the list of relative path to the proto files containing coverage report data
* separated by spaces to analyse coverage.
* Sample `coverage_proto_list.txt` content:
* ```
* coverage_reports/coverage_report1.pb coverage_reports/coverage_report2.pb
* ```
*
* Example:
* bazel run //scripts:coverage_reporter -- $(pwd) coverage_reports/utility/src/main/java \\
* /org/oppia/android/util/parser/math/MathModel/coverage_report.pb
* bazel run //scripts:coverage_reporter -- $(pwd) coverage_proto_list.txt
*/
fun main(vararg args: String) {
val repoRoot = args[0]
Expand Down

0 comments on commit da05cf1

Please sign in to comment.