mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 11:15:35 -05:00
31 lines
448 B
Text
31 lines
448 B
Text
(executable
|
|
(libraries tiny_httpd)
|
|
(name makehtml))
|
|
|
|
(rule
|
|
(targets t1.out.html)
|
|
(deps
|
|
(:bin ./makehtml.exe))
|
|
(action
|
|
(with-stdout-to
|
|
%{targets}
|
|
(run %{bin} 1))))
|
|
|
|
(rule
|
|
(alias runtest)
|
|
(action
|
|
(diff t1.expected.html t1.out.html)))
|
|
|
|
(rule
|
|
(targets t2.out.html)
|
|
(deps
|
|
(:bin ./makehtml.exe))
|
|
(action
|
|
(with-stdout-to
|
|
%{targets}
|
|
(run %{bin} 2))))
|
|
|
|
(rule
|
|
(alias runtest)
|
|
(action
|
|
(diff t2.expected.html t2.out.html)))
|