Add root bin path for addons

This commit is contained in:
Luis Blanco 2018-05-13 22:52:47 +03:00
parent 69f2775fc0
commit 183aba4b6f
1 changed files with 3 additions and 0 deletions

View File

@ -58,6 +58,7 @@ const paths = dir => {
const includePath = `${nanInclude} ${thisInclude}`;
const binPath = `${rootPath}/${currentDir}`;
const mkdirPath = isWindows ? `${rootPath}/_mkdir.bat` : 'mkdir';
const rmPath = isWindows ? `${rootPath}/_rm.bat` : 'rm';
@ -68,12 +69,14 @@ module.exports = {
paths,
binPath,
rootPath,
includePath,
mkdirPath,
rmPath,
cpPath,
bin() { return console.log(binPath); },
root() { return console.log(rootPath); },
include() { console.log(includePath); },