diff options
Diffstat (limited to 'ruby/scripts')
-rwxr-xr-x | ruby/scripts/slice2rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ruby/scripts/slice2rb b/ruby/scripts/slice2rb new file mode 100755 index 00000000000..c56fc02575f --- /dev/null +++ b/ruby/scripts/slice2rb @@ -0,0 +1,17 @@ +#!/usr/bin/env ruby +# ********************************************************************** +# +# Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +require 'Ice' +sliceDir = Ice.getSliceDir() +if sliceDir != nil + ARGV << "-I" + sliceDir +end +rc = Ice::compile(ARGV) +exit(rc) |