1
1
mirror of https://github.com/github/semantic.git synced 2024-11-23 16:37:50 +03:00

No more script/run

This commit is contained in:
Timothy Clem 2018-05-18 15:57:21 -07:00
parent 3240f64de3
commit 8c32aa8a6d

View File

@ -37,20 +37,20 @@ generate_example () {
if [ -e "$fileA" ]; then if [ -e "$fileA" ]; then
status $parseFileA status $parseFileA
"$(dirname "$0")/run" semantic parse --sexpression $fileA > $parseFileA stack exec semantic -- parse --sexpression $fileA > $parseFileA
fi fi
if [ -e "$fileB" ]; then if [ -e "$fileB" ]; then
status $parseFileB status $parseFileB
"$(dirname "$0")/run" semantic parse --sexpression $fileB > $parseFileB stack exec semantic -- parse --sexpression $fileB > $parseFileB
fi fi
if [ -e "$fileA" -a -e "$fileB" ]; then if [ -e "$fileA" -a -e "$fileB" ]; then
status $diffFileAB status $diffFileAB
"$(dirname "$0")/run" semantic diff --sexpression $fileA $fileB > $diffFileAB stack exec semantic -- diff --sexpression $fileA $fileB > $diffFileAB
status $diffFileBA status $diffFileBA
"$(dirname "$0")/run" semantic diff --sexpression $fileB $fileA > $diffFileBA stack exec semantic -- diff --sexpression $fileB $fileA > $diffFileBA
fi fi
} }