blob: d07cb91e0ac85ddefa46a7dd9bdf438295e50163 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/usr/bin/env node
// **********************************************************************
//
// 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.
//
// **********************************************************************
'use strict';
var binPath = require('../installSlice2js').path;
var spawn = require('child_process').spawn;
var path = require('path');
var SLICE_DIR = path.resolve(path.join('..', 'slice'));
var args = process.argv.slice(2);
args.push('-I'+SLICE_DIR);
spawn(binPath, args, { stdio: 'inherit' }).on('exit', process.exit);
|