Skip to content

Commit

Permalink
add and variables
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Apr 16, 2017
1 parent e523e7f commit 057493c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xmake/core/project/project.lua
Expand Up @@ -303,6 +303,8 @@ function project._interpreter()
, configdir = config.directory()
, projectdir = project.directory()
, packagedir = package.directory()
, programdir = xmake._PROGRAM_DIR
, xmake = path.join(xmake._PROGRAM_DIR, "xmake")
}

-- map it
Expand Down
2 changes: 2 additions & 0 deletions xmake/core/project/task.lua
Expand Up @@ -202,6 +202,8 @@ function task._interpreter()
, configdir = config.directory()
, projectdir = xmake._PROJECT_DIR
, packagedir = package.directory()
, programdir = xmake._PROGRAM_DIR
, xmake = path.join(xmake._PROGRAM_DIR, "xmake")
}

-- map it
Expand Down

0 comments on commit 057493c

Please sign in to comment.