mirror of
https://github.com/github/semantic.git
synced 2024-11-27 12:57:49 +03:00
No more script/run
This commit is contained in:
parent
3240f64de3
commit
8c32aa8a6d
@ -37,20 +37,20 @@ generate_example () {
|
||||
|
||||
if [ -e "$fileA" ]; then
|
||||
status $parseFileA
|
||||
"$(dirname "$0")/run" semantic parse --sexpression $fileA > $parseFileA
|
||||
stack exec semantic -- parse --sexpression $fileA > $parseFileA
|
||||
fi
|
||||
|
||||
if [ -e "$fileB" ]; then
|
||||
status $parseFileB
|
||||
"$(dirname "$0")/run" semantic parse --sexpression $fileB > $parseFileB
|
||||
stack exec semantic -- parse --sexpression $fileB > $parseFileB
|
||||
fi
|
||||
|
||||
if [ -e "$fileA" -a -e "$fileB" ]; then
|
||||
status $diffFileAB
|
||||
"$(dirname "$0")/run" semantic diff --sexpression $fileA $fileB > $diffFileAB
|
||||
stack exec semantic -- diff --sexpression $fileA $fileB > $diffFileAB
|
||||
|
||||
status $diffFileBA
|
||||
"$(dirname "$0")/run" semantic diff --sexpression $fileB $fileA > $diffFileBA
|
||||
stack exec semantic -- diff --sexpression $fileB $fileA > $diffFileBA
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user