summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/templates.md
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-12-28 00:01:31 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-12-31 23:24:29 +0200
commit4a189cf8c53e22b747521cae93c18cac3a45cc5a (patch)
tree14f77b4d494cdb4d83dd1e177ef79d43ba7a398d /docs/markdown/snippets/templates.md
parentf1afd44b2b2fb85de1c55408b46e50b4381f50d2 (diff)
downloadmeson-init.tar.gz
Add unit test that checks that the sample projects compile.init
Diffstat (limited to 'docs/markdown/snippets/templates.md')
-rw-r--r--docs/markdown/snippets/templates.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/snippets/templates.md b/docs/markdown/snippets/templates.md
new file mode 100644
index 000000000..6f0474d8d
--- /dev/null
+++ b/docs/markdown/snippets/templates.md
@@ -0,0 +1,8 @@
+## Project templates
+
+Meson ships with predefined project templates. To start a new project from
+scratch, simply go to an empty directory and type:
+
+```meson
+meson init --name=myproject --type=executable --language=c
+```