Zilliqa / scilla

Scilla - A Smart Contract Intermediate Level Language
https://scilla-lang.org
GNU General Public License v3.0
240 stars 78 forks source link

fix(build): Specify the directory for `make coverage` #1155

Closed jubnzv closed 2 years ago

jubnzv commented 2 years ago

We should explicitly set the output directory for the make coverage target. Otherwise, the report will be saved in the _build/coverage directory which will be removed when calling dune clean.

Here is a part of the Makefile that removes the created report: https://github.com/Zilliqa/scilla/blob/e9ee5c84a68f4cccdc91432dd140e50c6f33d672/Makefile#L181-L182