Mercurial Hosting > luan
diff dist/scripts/mmake.luan @ 273:073044e3ac03
fix mmake.sh and multipart mail
git-svn-id: https://luan-java.googlecode.com/svn/trunk@274 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Fri, 31 Oct 2014 18:44:11 +0000 |
parents | 97d175772fed |
children |
line wrap: on
line diff
--- a/dist/scripts/mmake.luan Fri Oct 31 04:50:24 2014 +0000 +++ b/dist/scripts/mmake.luan Fri Oct 31 18:44:11 2014 +0000 @@ -1,8 +1,7 @@ -import "Table" -import "Io" -import "String" -import "Java" -import "java.util.Date" +import "luan:Table" +import "luan:Io" +import "luan:String" +import "luan:Time" compiler = Table.concat( { "javac -g -encoding UTF8", ... }, " " ) @@ -41,14 +40,14 @@ function header() return %> -# Makefile created on <%=Date.new()%> by Mmake +# Makefile created on <%=Time.format(Time.now())%> by Mmake .SUFFIXES: .java .class .java.class: - javac -g -encoding UTF8 $< + <%=compiler%> $< all: <% end -mmake(Io.File ".") +mmake(Io.schemes.file ".")