Changeset 367

Show
Ignore:
Timestamp:
11/03/07 20:39:56 (13 months ago)
Author:
eevee
Message:

Added a cries tarball to the resources page. (#164)

Location:
veekun/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • veekun/trunk/script/create_downloads.pl

    r250 r367  
    104104tarball berries => 'root/dex-images/items/big', '*-berry.png'; 
    105105 
     106tarball cries => 'root/files/cries', '*.mp3'; 
    106107 
    107108# functions ahoy 
     
    147148sub tarball { 
    148149    my ($outfile, $path, @files) = @_; 
    149     my $outpath = File::Spec->rel2abs("$basepath/root/files/sprites/$outfile.tgz"); 
     150    my $subfolder = 'sprites'; 
     151    if ($outfile eq 'cries') { 
     152        # Hack 
     153        $subfolder = 'cries'; 
     154    } 
     155    my $outpath = File::Spec->rel2abs("$basepath/root/files/$subfolder/$outfile.tgz"); 
    150156 
    151157    if (-e $outpath) { 
  • veekun/trunk/static/dex/resources.tt

    r316 r367  
    5757</ul> 
    5858 
     59<h1>Miscellaneous</h1> 
     60<ul> 
     61  <li><a href="/files/cries/cries.tgz">Pok&eacute;mon cries</a></li> 
     62  <li><a href="http://trac.veekun.com/browser/veekun/trunk/script/create_downloads.pl">Script to create all these files</a></li> 
     63</ul> 
     64 
    5965<h1>Pok&eacute;dex Database</h1> 
    6066<p>Eventually I will have a page listing all tables/columns and what they are for, as well as a gzipped dump of my database.</p>