summaryrefslogtreecommitdiff
path: root/ruby/scripts/slice2rb
blob: c56fc02575fe75568376d7736ac36cf9e4b21532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)