~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: stevenbird
  • Date: 2008-02-20 11:50:03 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:523
Adding ReStructured Text preprocessing of exercise descriptions,
so that the markup for exercises is the same as for the tutorials.

www/apps/tutorial/rst.py
* cut down version of NLTK rst.py, which extends docutils
  with colourised python codeblocks
* modified to work with strings rather than files

www/apps/tutorial/__init__.py
* call rst() main function on exercise description once
  it is extracted from the source XML file

www/apps/tutorialservice/test/TestFramework.py
* clean up docstring

www/apps/tutorialservice/test/parse_exercise.py
* remove backwards compatibility for desc attribute
  (now authors must provide both pass and fail strings)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile - bin directory
 
2
# Do not commit
 
3
 
 
4
all: bin/trampoline
 
5
 
 
6
bin:
 
7
        mkdir -p bin
 
8
 
 
9
bin/trampoline: bin trampoline/trampoline.c
 
10
        gcc -o bin/trampoline trampoline/trampoline.c
 
11
        sudo chown root bin/trampoline
 
12
        sudo chmod +s bin/trampoline