aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorazidar2015-10-27 09:57:03 -0700
committerazidar2015-10-27 09:57:03 -0700
commit852b241e274edd888499b520d320945794a26e24 (patch)
treefc4c4dac344ab3995c685bde10c6255d5ab273cc /utils
parent4312fed3f51e1756bbc104639689098de7df0cfe (diff)
parentf258c8394ebe7136e0eee7e1e342b5b593d1cc5d (diff)
Merge branch 'master' of github.com:ucb-bar/firrtl
Conflicts: Makefile
Diffstat (limited to 'utils')
-rwxr-xr-xutils/bin/firrtl-scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/bin/firrtl-scala b/utils/bin/firrtl-scala
new file mode 100755
index 00000000..4d208178
--- /dev/null
+++ b/utils/bin/firrtl-scala
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# This may be a brittle way to find $(root_dir)/utils/bin, is there a better way?
+path=`dirname "$0"`
+cmd="java -cp ${path}/firrtl.jar firrtl.Test ${@:1}"
+eval $cmd
+