Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 193
- Log:
First stage commit of Typo 4.1, modified for the ROOL site.
Includes all local modifications but a final pass needs to be
made to delete any files left over from earlier Typo versions
that shouldn't be here anymore. See the 'tags' section of the
repository for a clean Typo 4.1 tree.Note that symlinks to shared files in the RISC OS Open theme
directory have been deliberately included this time around; I
decided that on balance it was better to leave them in as
placeholders, since unlike symlinks in app/views/shared, the
Typo theme structure is not a standard Rails concept.
- Author:
- rool
- Date:
- Wed Apr 04 18:51:02 +0100 2007
- Size:
- 503 Bytes
- Properties:
- Property svn:executable is set to *
1 | #!/usr/bin/env ruby |
2 | # The command line Haml parser. |
3 | |
4 | if ARGV[0] == "--help" or ARGV[0] == "-h" or ARGV[0] == "-?" |
5 | puts <<END |
6 | Usage: haml (template file) (output file) |
7 | |
8 | Description: |
9 | Uses the Haml engine to parse the specified template |
10 | and outputs the result to the specified file. |
11 | END |
12 | else |
13 | require File.join(File.dirname(__FILE__), '..', 'lib', 'haml', 'engine') |
14 | |
15 | template = File.read(ARGV[0]) |
16 | result = Haml::Engine.new(template).to_html |
17 | File.open(ARGV[1], "w") { |f| f.write(result) } |
18 | end |