mirror of https://github.com/aamine/cbc
* bin/cbc: follow last directory tree change.
* test/test_cbc.sh: ditto. git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4019 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
parent
97ff5aafe0
commit
bdfd802a9c
|
@ -1,3 +1,9 @@
|
||||||
|
Mon Sep 15 01:24:57 2008 Minero Aoki <aamine@loveruby.net>
|
||||||
|
|
||||||
|
* bin/cbc: follow last directory tree change.
|
||||||
|
|
||||||
|
* test/test_cbc.sh: ditto.
|
||||||
|
|
||||||
Mon Sep 15 01:19:36 2008 Minero Aoki <aamine@loveruby.net>
|
Mon Sep 15 01:19:36 2008 Minero Aoki <aamine@loveruby.net>
|
||||||
|
|
||||||
* cbc -> bin/cbc
|
* cbc -> bin/cbc
|
||||||
|
|
14
bin/cbc
14
bin/cbc
|
@ -1,7 +1,11 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
# cbc -- cflat compiler
|
||||||
|
|
||||||
basedir=`dirname "$0"`
|
JAVA=java
|
||||||
java -classpath "$basedir/cbc.jar" \
|
|
||||||
|
srcdir_root="$(dirname "$(dirname "$0")")"
|
||||||
|
"$JAVA" -classpath "$srcdir_root/lib/cbc.jar" \
|
||||||
net.loveruby.cflat.compiler.Compiler \
|
net.loveruby.cflat.compiler.Compiler \
|
||||||
-I"$basedir/import" \
|
-I"$srcdir_root/import" \
|
||||||
${@+"$@"}
|
-L"$srcdir_root/lib" \
|
||||||
|
"$@"
|
||||||
|
|
|
@ -332,7 +332,7 @@ assert_private() {
|
||||||
assert_eq "private" `symbol_visibility $1 $2`
|
assert_eq "private" `symbol_visibility $1 $2`
|
||||||
}
|
}
|
||||||
|
|
||||||
CBC=../cbc
|
CBC=../bin/cbc
|
||||||
|
|
||||||
assert_compile_success() {
|
assert_compile_success() {
|
||||||
assert_status 0 $CBC "$@"
|
assert_status 0 $CBC "$@"
|
||||||
|
|
Loading…
Reference in New Issue