2021-08-20 01:32:01 +03:00
|
|
|
DENO := deno
|
|
|
|
|
|
|
|
tests: clean fmt-check
|
2021-08-20 01:35:45 +03:00
|
|
|
$(DENO) test --coverage=cov_profile *.test.ts
|
2021-08-20 01:32:01 +03:00
|
|
|
|
|
|
|
tests-cov: tests
|
|
|
|
$(DENO) coverage cov_profile --lcov > cov_profile/cov.lcov
|
|
|
|
|
|
|
|
fmt:
|
2021-08-20 01:35:45 +03:00
|
|
|
$(DENO) fmt *.ts
|
2021-08-20 01:32:01 +03:00
|
|
|
|
|
|
|
fmt-check:
|
2021-08-20 01:35:45 +03:00
|
|
|
$(DENO) fmt *.ts --check
|
2021-08-20 01:32:01 +03:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf cov_profile
|