summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Bayliss <christopher.j.bayliss@gmail.com>2014-09-19 13:20:14 +1000
committerChristopher Bayliss <christopher.j.bayliss@gmail.com>2014-09-19 13:20:14 +1000
commit786bc755f89079d1435e2815b5bd44157cd8742b (patch)
tree4b8f593c069105f2949de43c9a68a1f43cc26e75
parent3987c8a4c06471e07ffce4310a9e1625062dcbb5 (diff)
Updated the code blocks
-rw-r--r--README.rst14
1 files changed, 6 insertions, 8 deletions
diff --git a/README.rst b/README.rst
index 853ceee..a643a2a 100644
--- a/README.rst
+++ b/README.rst
@@ -44,15 +44,13 @@ Build LDTP on Linux
First checkout ldtp from github and cd into ldtp2.
- ``git clone https://github.com/ldtp/ldtp2.git``
-
- ``cd ldtp2/``
+ $ git clone https://github.com/ldtp/ldtp2.git
+ $ cd ldtp2/
Then build and install.
- ``python setup.py build``
-
- ``sudo python setup.py build``
+ $ python setup.py build
+ $ sudo python setup.py build
Note: If your GNOME version is less than or equal to 2.24, then use LDTPv1 (1.7.x)
@@ -61,12 +59,12 @@ Writing tests
It is best to read the documentation, so first cd into the doc directory.
- ``cd ldtp2/doc/``
+ $ cd ldtp2/doc/
Then you can either read ldtp-tutorial.rst in you favorite text editor or build
a pdf. First install ``rst2pdf``, then run:
- ``rst2pdf ldtp-tutorial.rst``
+ $ rst2pdf ldtp-tutorial.rst
Then open the pdf in your favorite pdf viewer.