Skip to content

Commit

Permalink
Merge pull request #36 from stanislaw/develop
Browse files Browse the repository at this point in the history
docs: Tutorial: Hello World some content
  • Loading branch information
stanislaw authored Nov 29, 2019
2 parents 9021851 + f696144 commit 821dfb3
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 25 additions & 1 deletion docs/03-tutorial-hello-world.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
Tutorial: Hello World
=====================

...
This tutorial assumes that you have installed ``filecheck`` and have it
available in your PATH:

.. code-block:: bash
$ filecheck
/usr/local/bin/filecheck
<check-file> not specified
The FileCheck program expects the following grammar:

.. code-block:: text
filecheck <check-file> [<options>]
Create new file ``hello-world.check`` with the following contents:

.. code-block:: text
; CHECK: Hello world
.. code-block:: bash
echo "Hello world" | filecheck hello-world.check
/usr/local/bin/FileCheck
2 changes: 2 additions & 0 deletions examples/hello-world.check
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
; CHECK: Hello world

0 comments on commit 821dfb3

Please sign in to comment.