diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2021-01-31 13:24:30 +0100 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-01-31 15:11:30 +0000 |
| commit | 4bde7f31ae5fa162a514f3d876d38943fcdff406 (patch) | |
| tree | 5a56718f60c61cf54caa585cf9df74ccf160701b /docs/markdown/snippets/versionfile.md | |
| parent | 6c6b5d77d696c160a8f65719058dba2faf783b3e (diff) | |
| download | meson-4bde7f31ae5fa162a514f3d876d38943fcdff406.tar.gz | |
copy editing for 0.57 release notes [skip ci]
Diffstat (limited to 'docs/markdown/snippets/versionfile.md')
| -rw-r--r-- | docs/markdown/snippets/versionfile.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/markdown/snippets/versionfile.md b/docs/markdown/snippets/versionfile.md index 6071f2cfb..a18803ecd 100644 --- a/docs/markdown/snippets/versionfile.md +++ b/docs/markdown/snippets/versionfile.md @@ -1,12 +1,12 @@ ## Project version can be specified with a file -Meson can be instructed to load project's version string from an +Meson can be instructed to load a project's version string from an external file like this: ```meson project('foo', 'c' version: files('VERSION')) ``` -The version file must contain exactly one line of text and that will -be set as the project's version. If the line ends in a newline +The version file must contain exactly one line of text which will +be used as the project's version. If the line ends in a newline character, it is removed. |
