From 06a52c7230e5d95ed6ea3093a0312e6eaed43fe4 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 20 Oct 2023 17:27:36 +0100 Subject: Make "true" first example --- examples/01-hello-world/shed.toml | 9 --------- examples/01-hello-world/src/HelloWorld.shed | 3 --- examples/01-true/shed.toml | 9 +++++++++ examples/01-true/src/True.shed | 2 ++ examples/02-hello-world/shed.toml | 9 +++++++++ examples/02-hello-world/src/HelloWorld.shed | 3 +++ examples/02-true/shed.toml | 9 --------- examples/02-true/src/True.shed | 2 -- 8 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 examples/01-hello-world/shed.toml delete mode 100644 examples/01-hello-world/src/HelloWorld.shed create mode 100644 examples/01-true/shed.toml create mode 100644 examples/01-true/src/True.shed create mode 100644 examples/02-hello-world/shed.toml create mode 100644 examples/02-hello-world/src/HelloWorld.shed delete mode 100644 examples/02-true/shed.toml delete mode 100644 examples/02-true/src/True.shed (limited to 'examples') diff --git a/examples/01-hello-world/shed.toml b/examples/01-hello-world/shed.toml deleted file mode 100644 index 156fa7c6..00000000 --- a/examples/01-hello-world/shed.toml +++ /dev/null @@ -1,9 +0,0 @@ -[shed] -main = "HelloWorld" - -[[shed.bins]] -name = "hello-world" - -[[shed.examples]] -bin = "hello-world" -expected-output = "hello, world" diff --git a/examples/01-hello-world/src/HelloWorld.shed b/examples/01-hello-world/src/HelloWorld.shed deleted file mode 100644 index e2d8d187..00000000 --- a/examples/01-hello-world/src/HelloWorld.shed +++ /dev/null @@ -1,3 +0,0 @@ -fun main() ! Io -> Unit { - print!("hello, world\n"); -} diff --git a/examples/01-true/shed.toml b/examples/01-true/shed.toml new file mode 100644 index 00000000..e508461b --- /dev/null +++ b/examples/01-true/shed.toml @@ -0,0 +1,9 @@ +[shed] +main = "True" + +[[shed.bins]] +name = "true" + +[[shed.examples]] +bin = "true" +expected-output = "" diff --git a/examples/01-true/src/True.shed b/examples/01-true/src/True.shed new file mode 100644 index 00000000..2161327a --- /dev/null +++ b/examples/01-true/src/True.shed @@ -0,0 +1,2 @@ +fun main() ! Io -> Unit { +} diff --git a/examples/02-hello-world/shed.toml b/examples/02-hello-world/shed.toml new file mode 100644 index 00000000..156fa7c6 --- /dev/null +++ b/examples/02-hello-world/shed.toml @@ -0,0 +1,9 @@ +[shed] +main = "HelloWorld" + +[[shed.bins]] +name = "hello-world" + +[[shed.examples]] +bin = "hello-world" +expected-output = "hello, world" diff --git a/examples/02-hello-world/src/HelloWorld.shed b/examples/02-hello-world/src/HelloWorld.shed new file mode 100644 index 00000000..e2d8d187 --- /dev/null +++ b/examples/02-hello-world/src/HelloWorld.shed @@ -0,0 +1,3 @@ +fun main() ! Io -> Unit { + print!("hello, world\n"); +} diff --git a/examples/02-true/shed.toml b/examples/02-true/shed.toml deleted file mode 100644 index e508461b..00000000 --- a/examples/02-true/shed.toml +++ /dev/null @@ -1,9 +0,0 @@ -[shed] -main = "True" - -[[shed.bins]] -name = "true" - -[[shed.examples]] -bin = "true" -expected-output = "" diff --git a/examples/02-true/src/True.shed b/examples/02-true/src/True.shed deleted file mode 100644 index 2161327a..00000000 --- a/examples/02-true/src/True.shed +++ /dev/null @@ -1,2 +0,0 @@ -fun main() ! Io -> Unit { -} -- cgit v1.2.3