blob: 630b1bf350e2e50986245b15c30c0b3ce7149599 [file] [log] [blame]
// *******************************************************************************
// * Copyright (c) 2016 Gigatronik Ingolstadt GmbH
// * All rights reserved. This program and the accompanying materials
// * are made available under the terms of the Eclipse Public License v1.0
// * which accompanies this distribution, and is available at
// * http://www.eclipse.org/legal/epl-v10.html
// *
// * Contributors:
// * Dennis Schroeder - initial implementation
// *******************************************************************************
var path = require('path');
var _root = path.resolve(__dirname, '..');
function root(args) {
args = Array.prototype.slice.call(arguments, 0);
return path.join.apply(path, [_root].concat(args));
}
exports.root = root;