aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/01-true/shed.toml4
-rw-r--r--examples/02-hello-world/shed.toml4
-rw-r--r--examples/03-val/shed.toml4
-rw-r--r--examples/04-val-as-namespace-statement/shed.toml4
-rw-r--r--examples/05-string-add/shed.toml4
-rw-r--r--examples/06-if/shed.toml4
-rw-r--r--examples/07-mutual-recursion/shed.toml4
-rw-r--r--examples/08-blocks/shed.toml4
-rw-r--r--examples/09-var/shed.toml4
-rw-r--r--examples/10-while/shed.toml4
-rw-r--r--examples/11-tuples/shed.toml4
-rw-r--r--examples/12-named-args/shed.toml4
-rw-r--r--examples/13-target-ignore/shed.toml4
-rw-r--r--examples/14-structs/shed.toml4
-rw-r--r--examples/15-struct-hoisting/shed.toml4
-rw-r--r--examples/15-sums/shed.toml4
16 files changed, 16 insertions, 48 deletions
diff --git a/examples/01-true/shed.toml b/examples/01-true/shed.toml
index e508461b..a5ab3d51 100644
--- a/examples/01-true/shed.toml
+++ b/examples/01-true/shed.toml
@@ -1,8 +1,6 @@
-[shed]
-main = "True"
-
[[shed.bins]]
name = "true"
+main-module = "True"
[[shed.examples]]
bin = "true"
diff --git a/examples/02-hello-world/shed.toml b/examples/02-hello-world/shed.toml
index 156fa7c6..9e3bb804 100644
--- a/examples/02-hello-world/shed.toml
+++ b/examples/02-hello-world/shed.toml
@@ -1,8 +1,6 @@
-[shed]
-main = "HelloWorld"
-
[[shed.bins]]
name = "hello-world"
+main-module = "HelloWorld"
[[shed.examples]]
bin = "hello-world"
diff --git a/examples/03-val/shed.toml b/examples/03-val/shed.toml
index 156fa7c6..9e3bb804 100644
--- a/examples/03-val/shed.toml
+++ b/examples/03-val/shed.toml
@@ -1,8 +1,6 @@
-[shed]
-main = "HelloWorld"
-
[[shed.bins]]
name = "hello-world"
+main-module = "HelloWorld"
[[shed.examples]]
bin = "hello-world"
diff --git a/examples/04-val-as-namespace-statement/shed.toml b/examples/04-val-as-namespace-statement/shed.toml
index 156fa7c6..9e3bb804 100644
--- a/examples/04-val-as-namespace-statement/shed.toml
+++ b/examples/04-val-as-namespace-statement/shed.toml
@@ -1,8 +1,6 @@
-[shed]
-main = "HelloWorld"
-
[[shed.bins]]
name = "hello-world"
+main-module = "HelloWorld"
[[shed.examples]]
bin = "hello-world"
diff --git a/examples/05-string-add/shed.toml b/examples/05-string-add/shed.toml
index 156fa7c6..9e3bb804 100644
--- a/examples/05-string-add/shed.toml
+++ b/examples/05-string-add/shed.toml
@@ -1,8 +1,6 @@
-[shed]
-main = "HelloWorld"
-
[[shed.bins]]
name = "hello-world"
+main-module = "HelloWorld"
[[shed.examples]]
bin = "hello-world"
diff --git a/examples/06-if/shed.toml b/examples/06-if/shed.toml
index bbbffff5..2b94bc57 100644
--- a/examples/06-if/shed.toml
+++ b/examples/06-if/shed.toml
@@ -1,8 +1,6 @@
-[shed]
-main = "Counting"
-
[[shed.bins]]
name = "counting"
+main-module = "Counting"
[[shed.examples]]
bin = "counting"
diff --git a/examples/07-mutual-recursion/shed.toml b/examples/07-mutual-recursion/shed.toml
index cb1607ce..3abd2bf8 100644
--- a/examples/07-mutual-recursion/shed.toml
+++ b/examples/07-mutual-recursion/shed.toml
@@ -1,8 +1,6 @@
-[shed]
-main = "MutualRecursion"
-
[[shed.bins]]
name = "mutual-recursion"
+main-module = "MutualRecursion"
[[shed.examples]]
bin = "mutual-recursion"
diff --git a/examples/08-blocks/shed.toml b/examples/08-blocks/shed.toml
index a2d8202b..d6081ebc 100644
--- a/examples/08-blocks/shed.toml
+++ b/examples/08-blocks/shed.toml
@@ -1,8 +1,6 @@
-[shed]
-main = "Counting"
-
[[shed.bins]]
name = "counting"
+main-module = "Counting"
[[shed.examples]]
bin = "counting"
diff --git a/examples/09-var/shed.toml b/examples/09-var/shed.toml
index 156fa7c6..9e3bb804 100644
--- a/examples/09-var/shed.toml
+++ b/examples/09-var/shed.toml
@@ -1,8 +1,6 @@
-[shed]
-main = "HelloWorld"
-
[[shed.bins]]
name = "hello-world"
+main-module = "HelloWorld"
[[shed.examples]]
bin = "hello-world"
diff --git a/examples/10-while/shed.toml b/examples/10-while/shed.toml
index bbbffff5..2b94bc57 100644
--- a/examples/10-while/shed.toml
+++ b/examples/10-while/shed.toml
@@ -1,8 +1,6 @@
-[shed]
-main = "Counting"
-
[[shed.bins]]
name = "counting"
+main-module = "Counting"
[[shed.examples]]
bin = "counting"
diff --git a/examples/11-tuples/shed.toml b/examples/11-tuples/shed.toml
index 156fa7c6..9e3bb804 100644
--- a/examples/11-tuples/shed.toml
+++ b/examples/11-tuples/shed.toml
@@ -1,8 +1,6 @@
-[shed]
-main = "HelloWorld"
-
[[shed.bins]]
name = "hello-world"
+main-module = "HelloWorld"
[[shed.examples]]
bin = "hello-world"
diff --git a/examples/12-named-args/shed.toml b/examples/12-named-args/shed.toml
index 156fa7c6..9e3bb804 100644
--- a/examples/12-named-args/shed.toml
+++ b/examples/12-named-args/shed.toml
@@ -1,8 +1,6 @@
-[shed]
-main = "HelloWorld"
-
[[shed.bins]]
name = "hello-world"
+main-module = "HelloWorld"
[[shed.examples]]
bin = "hello-world"
diff --git a/examples/13-target-ignore/shed.toml b/examples/13-target-ignore/shed.toml
index 156fa7c6..9e3bb804 100644
--- a/examples/13-target-ignore/shed.toml
+++ b/examples/13-target-ignore/shed.toml
@@ -1,8 +1,6 @@
-[shed]
-main = "HelloWorld"
-
[[shed.bins]]
name = "hello-world"
+main-module = "HelloWorld"
[[shed.examples]]
bin = "hello-world"
diff --git a/examples/14-structs/shed.toml b/examples/14-structs/shed.toml
index 156fa7c6..9e3bb804 100644
--- a/examples/14-structs/shed.toml
+++ b/examples/14-structs/shed.toml
@@ -1,8 +1,6 @@
-[shed]
-main = "HelloWorld"
-
[[shed.bins]]
name = "hello-world"
+main-module = "HelloWorld"
[[shed.examples]]
bin = "hello-world"
diff --git a/examples/15-struct-hoisting/shed.toml b/examples/15-struct-hoisting/shed.toml
index 156fa7c6..9e3bb804 100644
--- a/examples/15-struct-hoisting/shed.toml
+++ b/examples/15-struct-hoisting/shed.toml
@@ -1,8 +1,6 @@
-[shed]
-main = "HelloWorld"
-
[[shed.bins]]
name = "hello-world"
+main-module = "HelloWorld"
[[shed.examples]]
bin = "hello-world"
diff --git a/examples/15-sums/shed.toml b/examples/15-sums/shed.toml
index 3a2d316f..7432f9c1 100644
--- a/examples/15-sums/shed.toml
+++ b/examples/15-sums/shed.toml
@@ -1,8 +1,6 @@
-[shed]
-main = "HelloWorld"
-
[[shed.bins]]
name = "hello-world"
+main-module = "HelloWorld"
[[shed.examples]]
bin = "hello-world"