Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
README/NEWS: Fix broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
aiiie committed Dec 24, 2021
1 parent 59c164d commit 50fb79e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 25 deletions.
2 changes: 1 addition & 1 deletion NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Version 0.4 (Sep. 28, 2010)
* Added `contrib/cram.vim`_ syntax file for Vim. Contributed by `Steve
Losh`_.

.. _contrib/cram.vim: https://bitbucket.org/brodie/cram/src/default/contrib/cram.vim
.. _contrib/cram.vim: https://github.com/brodie/cram/blob/0.7/contrib/cram.vim
.. _Steve Losh: http://stevelosh.com/


Expand Down
32 changes: 8 additions & 24 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,9 @@ command's actual output.

Here's a snippet from `Cram's own test suite`_::

The $PYTHON environment variable should be set when running this test
from Python.

$ [ -n "$PYTHON" ] || PYTHON="`which python`"
$ [ -n "$PYTHONPATH" ] || PYTHONPATH="$TESTDIR/.." && export PYTHONPATH
$ if [ -n "$COVERAGE" ]; then
> coverage erase
> alias cram="`which coverage` run --branch -a $TESTDIR/../scripts/cram"
> else
> alias cram="$PYTHON $TESTDIR/../scripts/cram"
> fi
$ command -v md5 > /dev/null || alias md5=md5sum
Set up cram alias and example tests:

$ . "$TESTDIR"/setup.sh

Usage:

Expand Down Expand Up @@ -76,7 +67,7 @@ The format in a nutshell:

* Anything else is a comment.

.. _Cram's own test suite: https://bitbucket.org/brodie/cram/src/0.6/tests/cram.t
.. _Cram's own test suite: https://github.com/brodie/cram/blob/0.7/tests/usage.t
.. _Perl-compatible regular expressions: https://en.wikipedia.org/wiki/Perl_Compatible_Regular_Expressions


Expand Down Expand Up @@ -196,17 +187,13 @@ a test, try adding the ``-n`` option to prevent it from closing
waiting for the test shell's ``stdout`` to be fully closed.

.. _unified context diff: https://en.wikipedia.org/wiki/Diff#Unified_format
.. _its own example tests: https://bitbucket.org/brodie/cram/src/default/examples/
.. _its own example tests: https://github.com/brodie/cram/tree/0.7/examples


Development
-----------

Download the official development repository using Mercurial_::

hg clone https://bitbucket.org/brodie/cram

Or Git_::
Download the official development repository using Git_::

git clone https://github.com/brodie/cram.git

Expand All @@ -215,11 +202,8 @@ Test Cram using Cram::
pip install -r requirements.txt
make test

Visit Bitbucket_ or GitHub_ if you'd like to fork the project, watch
for new changes, or report issues.
Visit GitHub_ if you'd like to fork the project, watch for new changes, or
report issues.

.. _Mercurial: http://mercurial.selenic.com/
.. _Git: http://git-scm.com/
.. _coverage.py: http://nedbatchelder.com/code/coverage/
.. _Bitbucket: https://bitbucket.org/brodie/cram
.. _GitHub: https://github.com/brodie/cram

0 comments on commit 50fb79e

Please sign in to comment.