Skip to content

Commit 770c073

Browse files
authored
Update Script_Header.adoc
1 parent 74834e1 commit 770c073

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
This page documents the usage of single-file {language} modules, or "scripts".
1+
This page documents the usage of single-file {language} modules, or "scripts". These are
2+
{language} modules with a single source file, with build configuration included
3+
in a header comment block at the top of the file.
4+
5+
{language} scripts can be standalone or part of a larger Mill project. They can be run via
6+
`./mill Foo.{language-ext}` from the command line, or have other tasks on them executed
7+
via `./mill Foo.{language-ext}:compile` or `./mill Foo.{language-ext}:assembly`.
8+
9+
Apart from being limited to a single source file, single-file script modules otherwise
10+
support all the same tasks that normal ``{language}Module``s do.

0 commit comments

Comments
 (0)