nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8138dc
)
nitcatalog: copy the ini files in p/name.ini
author
Jean Privat
<jean@pryen.org>
Mon, 7 May 2018 16:30:19 +0000
(12:30 -0400)
committer
Jean Privat
<jean@pryen.org>
Mon, 7 May 2018 17:57:09 +0000
(13:57 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
src/nitcatalog.nit
patch
|
blob
|
history
diff --git
a/src/nitcatalog.nit
b/src/nitcatalog.nit
index
629222a
..
244be79
100644
(file)
--- a/
src/nitcatalog.nit
+++ b/
src/nitcatalog.nit
@@
-721,6
+721,9
@@
for p in mpackages do
var f = "p/{p.name}.html"
catalog.package_page(p)
catalog.generate_page(p).write_to_file(out/f)
+ # copy ini
+ var ini = p.ini
+ if ini != null then ini.write_to_file(out/"p/{p.name}.ini")
end
# INDEX