@@ -11,7 +11,6 @@ on Rakudo, it should end in .rakudo.
11
11
If you want to contribute, just ask! The quicker choice is to use IRC: join
12
12
#perl6 in Freenode and you'll be welcome.
13
13
14
-
15
14
Please use POD (mostly this template
16
15
https://github.com/perl6/perl6-examples/blob/master/template_pod ) when
17
16
adding a new example.
@@ -22,10 +21,8 @@ adding a new example.
22
21
2 . Help different implementations of Perl 6 test out their code in a less
23
22
testy and more fun manner ` ;) `
24
23
25
-
26
24
## What you can find here
27
25
28
-
29
26
| Directory | Description |
30
27
| --------------------| ------------------------------------------|
31
28
| best-of-rosettacode | The best of the rosettacode.org examples |
@@ -50,6 +47,21 @@ Since you have a commit-bit (if not then talk to the folks at #perl6 on
50
47
irc.freenode.net) feel free to commit your changes to the main repository.
51
48
No need to submit a pull request!
52
49
50
+ ## Running the examples
51
+
52
+ To run most examples (all examples excluding those which take a very long
53
+ time or are memory hogs) one can use the ` run-examples.pl ` script in the
54
+ ` bin ` directory:
55
+
56
+ $ perl6 bin/run-examples.pl
57
+
58
+ If one wishes to run the examples for a given category, then one can simply
59
+ use the ` --category=<category-dir> ` option specifying the desired category's
60
+ directory name. For example, to run the examples for the ` cookbook `
61
+ category, use the following:
62
+
63
+ $ perl6 bin/run-examples.pl --category=cookbook
64
+
53
65
## Building the examples documentation
54
66
55
67
To build the examples documentation web pages, simply run the ` htmlify.p6 `
0 commit comments