diff options
| author | ruki <[email protected]> | 2015-06-26 10:16:58 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-26 10:16:58 +0800 |
| commit | cd530f704a361fecba459bc8e3dc27cb1c6522c8 (patch) | |
| tree | 4ffdbc365ac2b61561873bdc17a971f0f8ff04f2 /xmake/scripts/base | |
| parent | 73a91c19b7c306ef2d2056914f285e1588985534 (diff) | |
add package for base
Diffstat (limited to 'xmake/scripts/base')
| -rw-r--r-- | xmake/scripts/base/package.lua | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/xmake/scripts/base/package.lua b/xmake/scripts/base/package.lua new file mode 100644 index 000000000..d07f6590a --- /dev/null +++ b/xmake/scripts/base/package.lua @@ -0,0 +1,45 @@ +--!The Automatic Cross-platform Build Tool +-- +-- XMake is free software; you can redistribute it and/or modify +-- it under the terms of the GNU Lesser General Public License as published by +-- the Free Software Foundation; either version 2.1 of the License, or +-- (at your option) any later version. +-- +-- XMake is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU Lesser General Public License for more details. +-- +-- You should have received a copy of the GNU Lesser General Public License +-- along with XMake; +-- If not, see <a href="http://www.gnu.org/licenses/"> http://www.gnu.org/licenses/</a> +-- +-- Copyright (C) 2009 - 2015, ruki All rights reserved. +-- +-- @author ruki +-- @file package.lua +-- + +-- define module: package +local package = package or {} + +-- load modules +local os = require("base/os") +local path = require("base/path") +local utils = require("base/utils") + +-- done package from the configure +function package.done(configs) + + -- check + assert(configs) + + -- dump + utils.dump(configs) + + -- ok + return true +end + +-- return module: package +return package |
