mirror of
https://github.com/natnat-mc/moonbuild
synced 2026-06-17 12:59:39 +02:00
-d is cleaner
This commit is contained in:
+4
-1
@@ -188,7 +188,10 @@ if args.deps
|
|||||||
io.write "(#{concat target.ins, ', '} -> #{concat target.outs, ', '})"
|
io.write "(#{concat target.ins, ', '} -> #{concat target.outs, ', '})"
|
||||||
io.write "\n"
|
io.write "\n"
|
||||||
for name, dep in sortedpairs deps
|
for name, dep in sortedpairs deps
|
||||||
io.write "\t\t#{name} (#{dep.name})\n"
|
io.write "\t\t#{name}"
|
||||||
|
if name!=dep.name
|
||||||
|
io.write " (#{dep.name})"
|
||||||
|
io.write "\n"
|
||||||
os.exit 0
|
os.exit 0
|
||||||
|
|
||||||
if #args.targets==0
|
if #args.targets==0
|
||||||
|
|||||||
+5
-1
@@ -974,7 +974,11 @@ if args.deps then
|
|||||||
end
|
end
|
||||||
io.write("\n")
|
io.write("\n")
|
||||||
for name, dep in sortedpairs(deps) do
|
for name, dep in sortedpairs(deps) do
|
||||||
io.write("\t\t" .. tostring(name) .. " (" .. tostring(dep.name) .. ")\n")
|
io.write("\t\t" .. tostring(name))
|
||||||
|
if name ~= dep.name then
|
||||||
|
io.write(" (" .. tostring(dep.name) .. ")")
|
||||||
|
end
|
||||||
|
io.write("\n")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
os.exit(0)
|
os.exit(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user