-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switching between 5.2 and 5.3: updates to soar and driver scripts
- Loading branch information
1 parent
ef375f0
commit 322dba7
Showing
7 changed files
with
67 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,34 @@ | ||
#!/bin/bash | ||
|
||
. setpath | ||
|
||
while [ $# -gt 0 ] | ||
do | ||
case "$1" in | ||
(*=*) eval $1;; | ||
-h|--help) echo "optionally LUA53=1, STATIC=1"; exit;; | ||
esac | ||
shift | ||
done | ||
|
||
if [ -z LUA53 ] | ||
then | ||
L53='' | ||
L='lua52' | ||
else | ||
L53='L53=1' | ||
L='lua53' | ||
fi | ||
|
||
# see if we can build luaish properly! | ||
pushd luaish | ||
soar52 -o luaish lua.lua -lconfig -lluaish.lua < t.lua | ||
srlua -o ../bin/luaish luaish | ||
soar -o luaish lua.lua -lconfig -lluaish.lua < t.lua | ||
srlua -o ../bin/luaish -l $L luaish | ||
popd | ||
if ! luaish < luaish/t.lua | ||
then | ||
echo "luaish test borked" | ||
exit | ||
fi | ||
|
||
lake -f test.lake | ||
lake -f test.lake $L53 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters