com/libs/templo [en]

All languages

Differences between version EMPTY and #5909

0a1,28
> Templo is the advanced template system for Haxe. Since version 2.0 it is no longer part of mtwin libraries. You can currently see examples of its usage in the v1.0 documentation: [[http://www.haxe.org/com/libs/mtwin/templo]]
> 
> Templo2 provides templating for both **neko **and **php ** targets. 
> 
> ===== installation =====
> 1. do a "haxelib install templo"
> 2. then, "haxelib run templo" in order to form the temploc2 executable
> (placed in the current directory I believe)
> 3. use commands as mentioned below, to compile your .mtt template files  (eg. "temploc2 -output bin\php -php
> test.mtt", etc ), making sure temploc2 is in your PATH.
> 4. for php, the resulting file will look like: test.mtt.php.
> 5. now place these pre-compiled template files where they can be
> accessed by your script
> 
> 
> ===== Usage =====
> run temploc2 from the command line as follows:
> 
> Usage : temploc [options] <files>
> -cp <dir> : add file search path
> -output <dir> : specify output directory
> -macros <file> : add macro definition file
> -php : use php output
> -debug : use debug mode
> -xml : don't use XHTML checks
> -compare <file1@file2> : compare two files or directories structurally
> -compare-xml <config> : compare also XML files
> --compare-both : display both files position in comparisons
\ No newline at end of file

	
Ver Date User Action
#15551 2012-10-12 10:42:14 cambiata View | Diff
#9527 2011-01-05 19:50:44 TheHippo View | Diff
#9473 2010-12-21 10:30:46 ncannasse View | Diff
#9422 2010-12-05 16:04:16 Hamza View | Diff
#5915 2009-05-04 04:01:29 tonypee View | Diff
#5910 2009-05-04 03:35:51 tonypee View | Diff
#5909 2009-05-04 03:29:10 tonypee View | Diff

Previous | Next