Skip to content

Commit

Permalink
Improved verify script for use from submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
jtristan committed Dec 14, 2023
1 parent 2fc7c1c commit 066004f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions verify.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
#!/bin/bash

DIR=`dirname "$0"`

echo Verifying the Dafny code from the lectures

for dfyfile in `ls Lectures/Code/*.dfy`
for dfyfile in `ls $DIR/Lectures/Code/*.dfy`
do
echo '...' Verifying $dfyfile
dafny verify $dfyfile
done

echo Verifying the solutions to the exercises

for dfyfile in `ls Exercises/*_solution.dfy`
for dfyfile in `ls $DIR/Exercises/*_solution.dfy`
do
echo '...' Verifying $dfyfile
dafny verify $dfyfile
Expand Down

0 comments on commit 066004f

Please sign in to comment.