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:
- 753 Bytes
- Properties:
- Property svn:executable is set to *
1 | #!/usr/bin/env ruby |
2 | |
3 | require 'rubygems' |
4 | require 'rails-installer' |
5 | |
6 | class TypoInstaller < RailsInstaller |
7 | application_name 'typo' |
8 | support_location 'the Typo mailing list' |
9 | |
10 | def install_post_hook |
11 | sweep_cache |
12 | end |
13 | |
14 | # Sweep the cache |
15 | def sweep_cache |
16 | in_directory install_directory do |
17 | message "Cleaning out #{@@app_name.capitalize}'s cache" |
18 | status = system_silently("rake -s sweep_cache") |
19 | end |
20 | end |
21 | end |
22 | |
23 | class SweepCache < RailsInstaller::Command |
24 | help "Sweep Typo's cache" |
25 | |
26 | def self.command(installer, *args) |
27 | installer.sweep_cache |
28 | end |
29 | end |
30 | |
31 | # Installer program |
32 | directory = ARGV[1] |
33 | |
34 | typo = TypoInstaller.new(directory) |
35 | typo.message_proc = Proc.new do |msg| |
36 | STDERR.puts " #{msg}" |
37 | end |
38 | typo.execute_command(*ARGV) |