summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-08-13 10:40:18 -0700
committerGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-08-13 10:40:18 -0700
commit7b982a26befa48de72e3f6f55a11eb1d724bd1ee (patch)
tree443e58efeeb960fa66cd1b4921d6242e89633b4e /INSTALL
parent593cbcd63017c6a5fe4d50dda34a50637824dfd9 (diff)
Update INSTALL notes to mention the wrapper script
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL30
1 files changed, 22 insertions, 8 deletions
diff --git a/INSTALL b/INSTALL
index 830a89f4..dbc63410 100644
--- a/INSTALL
+++ b/INSTALL
@@ -9,8 +9,8 @@ Building on Linux
1. Create an empty base directory
- mkdir BASE-DRIECTORY
- cd BASE-DRIECTORY
+ mkdir BASE-DIRECTORY
+ cd BASE-DIRECTORY
2. Download and build Boogie:
@@ -25,8 +25,8 @@ Building on Linux
3. Download and build Dafny:
hg clone https://hg.codeplex.com/dafny
- xbuild dafny/Source/Dafny.sln
- xbuild dafny/Source/DafnyServer.sln
+ cd dafny/Sources/
+ xbuild Dafny.sln
4. Download and build Z3
@@ -38,9 +38,23 @@ Building on Linux
make -j4
cd ../..
-5. Copy (or symlink) the z3 binary so that Dafny and Boogie can find it:
+5. Copy (or symlink) the z3 binary so that Dafny can find it:
cd BASE-DIRECTORY
- rm dafny/Binaries/z3 # Dafny already packages z3
- cp z3/build/z3 dafny/Binaries/z3
- cp z3/build/z3 boogie/Binaries/z3.exe
+ rm -f dafny/Binaries/z3
+ rm -f boogie/Binaries/z3.exe
+ ln -s /usr/bin/z3 dafny/Binaries/z3
+ ln -s /usr/bin/z3 boogie/Binaries/z3.exe
+
+6. Run Dafny using the `dafny` shell script in the Binaries directory.
+
+Editing in Emacs
+================
+
+The README at https://github.com/boogie-org/boogie-friends has plenty of
+information on how to set-up Emacs to work with Dafny. In short, it boils down
+to running [M-x package-install RET boogie-friends RET] and adding the following
+to your .emacs:
+ (setq flycheck-dafny-executable "BASE-DIRECTORy/dafny/")
+
+Do look at the README, though! It's full of useful tips.