Commit 98d93463 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix RST syntax.

parent 3e54ec0c
......@@ -15,41 +15,51 @@ failures in the tests.py:
First, we make test environments:
cd slapos.recipe.cmmi
wget http://downloads.buildout.org/2/bootstrap.py
wget http://svn.zope.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py
cat <<EOF > buildout.cfg
[buildout]
develop = .
parts = test
prefix = /tmp/test
[test]
recipe = zc.recipe.testrunner
eggs =
::
cd slapos.recipe.cmmi
wget http://downloads.buildout.org/2/bootstrap.py
wget http://svn.zope.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py
cat <<EOF > buildout.cfg
[buildout]
develop = .
parts = test
prefix = /tmp/test
[test]
recipe = zc.recipe.testrunner
eggs =
slapos.recipe.cmmi[test]
EOF
EOF
python -S bootstrap.py --version 1.7.0
bin/buildout
python -S bootstrap.py --version 1.7.0
bin/buildout
It will generate script bin/test, run it to do all the testcases:
bin/test
::
bin/test
After source changed, run buildout to update eggs again:
bin/buildout -v -N
bin/test
::
bin/buildout -v -N
bin/test
Build dist/slapos.recipe.cmmi-0.2-py2.7.egg
bin/buildout setup setup.py bdist_egg
::
bin/buildout setup setup.py bdist_egg
Build source package dist/slapos.recipe.cmmi-0.2.tar.gz
python setup.py sdist
::
python setup.py sdist
Repository: http://git.erp5.org/gitweb/slapos.recipe.cmmi.git
......@@ -65,4 +75,4 @@ Travis build: |travis|
.. |travis| image:: https://api.travis-ci.org/hexagonit/hexagonit.recipe.cmmi.png
.. _zc.recipe.cmmi : http://pypi.python.org/pypi/zc.recipe.cmmi
.. _hexagonit.recipe.cmmi : http://pypi.python.org/pypi/hexagonit.recipe.cmmi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment