From 81934ea4c2cf2260b6000e9be4d13e328204929a Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Thu, 30 Sep 2010 18:29:59 -0400 Subject: Demo improvements --- demo/counter.ur | 1 + demo/prose | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'demo') diff --git a/demo/counter.ur b/demo/counter.ur index b11fc936..23768ad3 100644 --- a/demo/counter.ur +++ b/demo/counter.ur @@ -1,3 +1,4 @@ +(* Workhorse function, which [main] will call *) fun counter n = return Current counter: {[n]}
Increment
diff --git a/demo/prose b/demo/prose index df0ed0a9..1cc9a6ac 100644 --- a/demo/prose +++ b/demo/prose @@ -5,7 +5,7 @@
./configure
 make
 sudo make install
-urweb -demo /Demo demo

+urweb -noEmacs -demo /Demo demo

The -demo /Demo flag says that we want to build a demo application that expects its URIs to begin with /Demo. The final argument demo gives the path to a directory housing demo files. One of the files in that directory is prose, a file describing the different demo pieces with HTML. Some lines of prose have the form foo.urp, naming particular project files (with the extension .urp) in that directory.

-- cgit v1.2.3