소스 검색

allow the test to configure which diagram to dump

main
John-Mark Gurney 3 년 전
부모
커밋
a37addb726
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. +3
    -2
      Makefile

+ 3
- 2
Makefile 파일 보기

@@ -8,5 +8,6 @@
.diag.html:
(cat $<; echo; echo '<!-- Markdeep: --><style class="fallback">body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src="markdeep.min.js" charset="utf-8"></script><script src="https://casual-effects.com/markdeep/latest/markdeep.min.js" charset="utf-8"></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility="visible")</script>') > $@

diagtest:
ls box.sh diag.getxt Makefile | entr sh -c 'make diag.diag && cat diag.diag'
DIAG?=diag
test:
ls box.sh $(DIAG).getxt Makefile | entr sh -c 'make $(DIAG).diag && cat $(DIAG).diag'

불러오는 중...
취소
저장