Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 1130 Bytes
1 | namespace :radiant do |
2 | namespace :import do |
3 | namespace :prototype do |
4 | |
5 | desc "Import images, javascripts, and styles from prototype" |
6 | task :assets => [:images, :javascripts, :styles] |
7 | |
8 | desc "Import images from prototype" |
9 | task :images do |
10 | FileUtils.mkpath "public/images/admin" |
11 | FileUtils.cp_r "../prototype/images/admin", "public/images" |
12 | end |
13 | |
14 | desc "Import javascripts from prototype" |
15 | task :javascripts do |
16 | FileUtils.mkpath "public/javascripts/admin" |
17 | FileUtils.cp_r "../prototype/javascripts/admin", "public/javascripts" |
18 | end |
19 | |
20 | desc "Import styles from prototype" |
21 | task :styles do |
22 | FileUtils.mkpath "public/stylesheets/sass/admin" |
23 | FileUtils.cp_r "../prototype/stylesheets/admin", "public/stylesheets/sass" |
24 | filename = 'public/stylesheets/sass/admin/main.sass' |
25 | content = IO.read(filename) |
26 | File.open(filename, "w") do |f| |
27 | f.write(content.gsub(%r{@import _}, '@import admin/_')) |
28 | end |
29 | FileUtils.rm_rf "public/stylesheets/admin" |
30 | end |
31 | |
32 | end |
33 | end |
34 | end |