Skip to content

Instantly share code, notes, and snippets.

@jacksonh
Created February 11, 2010 08:04
Show Gist options
  • Save jacksonh/301321 to your computer and use it in GitHub Desktop.
Save jacksonh/301321 to your computer and use it in GitHub Desktop.
jackson@linux-7axw:~/Projects/mango/template/minge> cat template.html
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title></title>
</head>
{# some template stuff #}
<body>
<h1></h1>
{{ foo }}
</body> </html>
jackson@linux-7axw:~/Projects/mango/template/minge> mono minge-compile.exe
compile template-assembly template[,...]
jackson@linux-7axw:~/Projects/mango/template/minge> mono minge-compile.exe test.dll template.html
jackson@linux-7axw:~/Projects/mango/template/minge> mono minge-render.exe
render template-assembly template-name [key value,...]
jackson@linux-7axw:~/Projects/mango/template/minge> mono minge-render.exe test.dll templates.template foo 'Hello, minge'
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title></title>
</head>
<body>
<h1></h1>
Hello, minge
</body> </html>
jackson@linux-7axw:~/Projects/mango/template/minge>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment