1
0
mirror of https://github.com/natnat-mc/moonbuild synced 2026-05-28 09:39:40 +02:00

2 Commits

Author SHA1 Message Date
Codinget 88a8117f06 Producing rockspec 2.1.2-1 2020-11-09 19:53:14 +01:00
Codinget 69e781bc8f fix crash when multiple targets depend on the same target 2020-11-09 19:53:05 +01:00
3 changed files with 28 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@ transclosure = (obj, prop) ->
i = 1 i = 1
set = {} set = {}
imp = (e) -> imp = (e) ->
return unless e[prop]
for v in *e[prop] for v in *e[prop]
if not set[v] if not set[v]
elems[i], i = v, i+1 elems[i], i = v, i+1
+3
View File
@@ -1695,6 +1695,9 @@ transclosure = function(obj, prop)
local set = { } local set = { }
local imp local imp
imp = function(e) imp = function(e)
if not (e[prop]) then
return
end
local _list_0 = e[prop] local _list_0 = e[prop]
for _index_0 = 1, #_list_0 do for _index_0 = 1, #_list_0 do
local v = _list_0[_index_0] local v = _list_0[_index_0]
+24
View File
@@ -0,0 +1,24 @@
build = {
install = {
bin = {
moonbuild = "out/moonbuild"
}
},
type = "builtin"
}
dependencies = {
"lua >= 5.1",
"argparse >= 0.7.1-1",
"moonscript >= 0.5.0-1"
}
description = {
detailed = "moonbuild is a small build system that simplifies your build definitions by allowing you to use declarative as well as imperative rules. It represents the build as a DAG with explicit ordering, and doesn't give you any default confusing rules (unlike make). If you can, installing luaposix and/or luafilesystem will speed up builds and increase stability.\n",
summary = "Small build system in between make and a build.sh"
}
package = "moonbuild"
rockspec_format = "3.0"
source = {
tag = "v2.1.2",
url = "git://github.com/natnat-mc/moonbuild"
}
version = "2.1.2-1"