From 9e08a99b327c7d704f533e3535b77a1bbdc04919 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 18 Jun 2023 12:15:46 +0100 Subject: Run examples automatically --- examples/hello-world/shed.toml | 7 +++++++ examples/true/shed.toml | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/hello-world/shed.toml b/examples/hello-world/shed.toml index 6c6fb5cb..156fa7c6 100644 --- a/examples/hello-world/shed.toml +++ b/examples/hello-world/shed.toml @@ -1,2 +1,9 @@ [shed] main = "HelloWorld" + +[[shed.bins]] +name = "hello-world" + +[[shed.examples]] +bin = "hello-world" +expected-output = "hello, world" diff --git a/examples/true/shed.toml b/examples/true/shed.toml index 6c6fb5cb..e508461b 100644 --- a/examples/true/shed.toml +++ b/examples/true/shed.toml @@ -1,2 +1,9 @@ [shed] -main = "HelloWorld" +main = "True" + +[[shed.bins]] +name = "true" + +[[shed.examples]] +bin = "true" +expected-output = "" -- cgit v1.2.3