From cd530f704a361fecba459bc8e3dc27cb1c6522c8 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 26 Jun 2015 10:16:58 +0800 Subject: add package for base --- xmake/scripts/base/package.lua | 45 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 xmake/scripts/base/package.lua (limited to 'xmake/scripts/base/package.lua') 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 http://www.gnu.org/licenses/ +-- +-- 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 -- cgit v1.3.1