ソースを参照

allow the test to configure which diagram to dump

main
コミット
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'

読み込み中…
キャンセル
保存