2015-02-02 03:49:14 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [ $# -ne 1 ]; then
|
|
|
|
echo "Usage: test_eq_macro.sh [lean-executable-path]"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
LEAN=$1
|
|
|
|
export LEAN_PATH=../../../library:.
|
2015-03-29 03:29:52 +00:00
|
|
|
"$LEAN" -o eqn_macro1.olean eqn_macro1.lean
|
|
|
|
"$LEAN" eqn_macro2.lean
|