2021-08-20 01:32:01 +03:00
|
|
|
DENO := deno
|
2021-08-21 08:53:36 +03:00
|
|
|
COV := $(DENO) coverage cov_profile
|
|
|
|
FMT := $(DENO) fmt *.ts examples/*.ts
|
2021-08-20 01:32:01 +03:00
|
|
|
|
2021-08-21 08:53:36 +03:00
|
|
|
dev: fmt tests cov
|
|
|
|
|
|
|
|
ci: fmt-check tests-cov
|
|
|
|
|
|
|
|
tests: clean
|
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
|
2021-08-21 08:53:36 +03:00
|
|
|
$(COV) --lcov > cov_profile/cov.lcov
|
|
|
|
|
|
|
|
cov:
|
|
|
|
$(COV)
|
2021-08-20 01:32:01 +03:00
|
|
|
|
|
|
|
fmt:
|
2021-08-21 08:53:36 +03:00
|
|
|
$(FMT)
|
2021-08-20 01:32:01 +03:00
|
|
|
|
|
|
|
fmt-check:
|
2021-08-21 08:53:36 +03:00
|
|
|
$(FMT) --check
|
2021-08-20 01:32:01 +03:00
|
|
|
|
|
|
|
clean:
|
2022-11-17 14:51:58 +03:00
|
|
|
rm -rf cov_profile dist
|