Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Moved files into subdirectories. Tweaked buildsite to handle that.

commit 3585051bd8c91c73002792344810d59b8ae43794 1 parent 302763e
@davorg authored
Showing with 8 additions and 4 deletions.
  1. +8 −4 { → bin}/buildsite
  2. 0  { → bin}/buildtext
  3. 0  { → data}/cds.txt
  4. 0  { → data}/grillcd003.txt
  5. 0  { → data}/grillcd004.txt
  6. 0  { → data}/grillcd005.txt
  7. 0  { → data}/grillcd006.txt
  8. 0  { → data}/grillcd007.txt
  9. 0  { → data}/grillcd008.txt
  10. 0  { → data}/grillcd009.txt
  11. 0  { → data}/grillcd010.txt
  12. 0  { → data}/grillcd011.txt
  13. 0  { → data}/grillcd012.txt
  14. 0  { → data}/grillcd013.txt
  15. 0  { → data}/grillcd014.txt
  16. 0  { → data}/grillcd015.txt
  17. 0  { → data}/grillcd016.txt
  18. 0  { → data}/grillcd017.txt
  19. 0  { → data}/grillcd018.txt
  20. 0  { → data}/grillcd019.txt
  21. 0  { → data}/grillcd020.txt
  22. 0  { → data}/grillcd021.txt
  23. 0  { → data}/grillcd023.txt
  24. 0  { → data}/grillcd026.txt
  25. 0  { → site}/grillcd003.html
  26. 0  { → site}/grillcd004.html
  27. 0  { → site}/grillcd005.html
  28. 0  { → site}/grillcd006.html
  29. 0  { → site}/grillcd007.html
  30. 0  { → site}/grillcd008.html
  31. 0  { → site}/grillcd009.html
  32. 0  { → site}/grillcd010.html
  33. 0  { → site}/grillcd011.html
  34. 0  { → site}/grillcd012.html
  35. 0  { → site}/grillcd013.html
  36. 0  { → site}/grillcd014.html
  37. 0  { → site}/grillcd015.html
  38. 0  { → site}/grillcd016.html
  39. 0  { → site}/grillcd017.html
  40. 0  { → site}/grillcd018.html
  41. 0  { → site}/grillcd019.html
  42. 0  { → site}/grillcd020.html
  43. 0  { → site}/grillcd021.html
  44. 0  { → site}/grillcd023.html
  45. 0  { → site}/grillcd026.html
  46. 0  { → site}/index.html
  47. 0  { → site}/style.css
  48. 0  { → templates}/grillcd.tt
  49. 0  { → templates}/index.tt
  50. 0  { → templates}/page.tt
View
12 buildsite → bin/buildsite
@@ -6,10 +6,13 @@ use 5.010;
use Template;
-open my $cds_fh, '<', 'cds.txt' or die $!;
+open my $cds_fh, '<', 'data/cds.txt' or die $!;
my $cds;
-my $tt = Template->new;
+my $tt = Template->new({
+ INCLUDE_PATH => 'templates',
+ OUTPUT_PATH => 'site',
+});
my @cd_cols = qw[code year title];
my @track_cols = qw[num title artist];
@@ -20,9 +23,10 @@ while (<$cds_fh>) {
$cd{num} = (split ' ', $cd{code})[-1];
push @$cds, \%cd;
- next unless -f "grillcd$cd{num}.txt";
+ next unless -f "data/grillcd$cd{num}.txt";
- open my $track_fh, '<', "grillcd$cd{num}.txt" or die "$!: grillcd$cd{num}.txt";
+ open my $track_fh, '<', "data/grillcd$cd{num}.txt"
+ or die "$!: grillcd$cd{num}.txt";
while (my $track = <$track_fh>) {
chomp $track;
my %track;
View
0  buildtext → bin/buildtext
File renamed without changes
View
0  cds.txt → data/cds.txt
File renamed without changes
View
0  grillcd003.txt → data/grillcd003.txt
File renamed without changes
View
0  grillcd004.txt → data/grillcd004.txt
File renamed without changes
View
0  grillcd005.txt → data/grillcd005.txt
File renamed without changes
View
0  grillcd006.txt → data/grillcd006.txt
File renamed without changes
View
0  grillcd007.txt → data/grillcd007.txt
File renamed without changes
View
0  grillcd008.txt → data/grillcd008.txt
File renamed without changes
View
0  grillcd009.txt → data/grillcd009.txt
File renamed without changes
View
0  grillcd010.txt → data/grillcd010.txt
File renamed without changes
View
0  grillcd011.txt → data/grillcd011.txt
File renamed without changes
View
0  grillcd012.txt → data/grillcd012.txt
File renamed without changes
View
0  grillcd013.txt → data/grillcd013.txt
File renamed without changes
View
0  grillcd014.txt → data/grillcd014.txt
File renamed without changes
View
0  grillcd015.txt → data/grillcd015.txt
File renamed without changes
View
0  grillcd016.txt → data/grillcd016.txt
File renamed without changes
View
0  grillcd017.txt → data/grillcd017.txt
File renamed without changes
View
0  grillcd018.txt → data/grillcd018.txt
File renamed without changes
View
0  grillcd019.txt → data/grillcd019.txt
File renamed without changes
View
0  grillcd020.txt → data/grillcd020.txt
File renamed without changes
View
0  grillcd021.txt → data/grillcd021.txt
File renamed without changes
View
0  grillcd023.txt → data/grillcd023.txt
File renamed without changes
View
0  grillcd026.txt → data/grillcd026.txt
File renamed without changes
View
0  grillcd003.html → site/grillcd003.html
File renamed without changes
View
0  grillcd004.html → site/grillcd004.html
File renamed without changes
View
0  grillcd005.html → site/grillcd005.html
File renamed without changes
View
0  grillcd006.html → site/grillcd006.html
File renamed without changes
View
0  grillcd007.html → site/grillcd007.html
File renamed without changes
View
0  grillcd008.html → site/grillcd008.html
File renamed without changes
View
0  grillcd009.html → site/grillcd009.html
File renamed without changes
View
0  grillcd010.html → site/grillcd010.html
File renamed without changes
View
0  grillcd011.html → site/grillcd011.html
File renamed without changes
View
0  grillcd012.html → site/grillcd012.html
File renamed without changes
View
0  grillcd013.html → site/grillcd013.html
File renamed without changes
View
0  grillcd014.html → site/grillcd014.html
File renamed without changes
View
0  grillcd015.html → site/grillcd015.html
File renamed without changes
View
0  grillcd016.html → site/grillcd016.html
File renamed without changes
View
0  grillcd017.html → site/grillcd017.html
File renamed without changes
View
0  grillcd018.html → site/grillcd018.html
File renamed without changes
View
0  grillcd019.html → site/grillcd019.html
File renamed without changes
View
0  grillcd020.html → site/grillcd020.html
File renamed without changes
View
0  grillcd021.html → site/grillcd021.html
File renamed without changes
View
0  grillcd023.html → site/grillcd023.html
File renamed without changes
View
0  grillcd026.html → site/grillcd026.html
File renamed without changes
View
0  index.html → site/index.html
File renamed without changes
View
0  style.css → site/style.css
File renamed without changes
View
0  grillcd.tt → templates/grillcd.tt
File renamed without changes
View
0  index.tt → templates/index.tt
File renamed without changes
View
0  page.tt → templates/page.tt
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.