forked from SatelliteQE/testfm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
22 lines (15 loc) · 781 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Variables -------------------------------------------------------------------
TESTIMONY_OPTIONS=--config testimony.yaml
# Commands --------------------------------------------------------------------
help:
@echo " uuid-check to check for duplicated or empty :id: in testimony docstring tags"
@echo " uuid-fix to fix all duplicated or empty :id: in testimony docstring tags"
test-docstrings: uuid-check
$(info "Checking for errors in docstrings and testimony tags...")
testimony $(TESTIMONY_OPTIONS) validate tests/
uuid-check: ## list duplicated or empty uuids
$(info "Checking for empty or duplicated @id: in docstrings...")
@scripts/fix_uuids.sh --check
uuid-fix:
@scripts/fix_uuids.sh
.PHONY: help test-docstrings uuid-check