Skip to content

Commit

Permalink
test/premake: moved precore master to root.
Browse files Browse the repository at this point in the history
  • Loading branch information
komiga committed Apr 3, 2015
1 parent 4b7bc7e commit d598969
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
File renamed without changes.
18 changes: 18 additions & 0 deletions premake4.lua
@@ -0,0 +1,18 @@

dofile("precore_import.lua")

local S, G, P = precore.helpers()

precore.init(
nil,
{
"precore.clang-opts",
"precore.c++11-core",
"precore.env-common",
}
)

precore.import(".")
precore.import("test")

precore.action_clean("out")
17 changes: 0 additions & 17 deletions test/premake4.lua → test/build.lua
@@ -1,21 +1,6 @@

dofile("precore_import.lua")

local S, G, P = precore.helpers()

precore.init(
{
ROOT = path.getabsolute(".."),
},
{
"precore.clang-opts",
"precore.c++11-core",
"precore.env-common",
}
)

precore.import("..")

function make_test(group, name, srcglob, configs)
configs = configs or {}
table.insert(configs, 1, "duct.strict")
Expand Down Expand Up @@ -64,5 +49,3 @@ precore.import("io")
precore.import("text")
precore.import("utils")
precore.import("var")

precore.action_clean("out")

0 comments on commit d598969

Please sign in to comment.