diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-06-18 12:15:46 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-06-18 12:15:46 +0100 |
| commit | 9e08a99b327c7d704f533e3535b77a1bbdc04919 (patch) | |
| tree | be0fc9ced28cfec9f14b315e80f5c5fb7d6d45c5 /examples | |
| parent | 0272455c8bb06d5c63220172b2888510aeb7f40b (diff) | |
Run examples automatically
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/hello-world/shed.toml | 7 | ||||
| -rw-r--r-- | examples/true/shed.toml | 9 |
2 files changed, 15 insertions, 1 deletions
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 = "" |
