Skip to content

Commit

Permalink
Make build system better
Browse files Browse the repository at this point in the history
  • Loading branch information
ingydotnet committed Nov 23, 2014
1 parent 70ab4b1 commit 96de348
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 18 deletions.
3 changes: 2 additions & 1 deletion bin/all-json
Expand Up @@ -10,7 +10,8 @@ my $yaml_dir = 'tmp/yaml';
my $data = YAML::XS::LoadFile($config_file);
$data->{nodes} = [];

for my $yaml_file (io->dir($yaml_dir)->all_files) {
for my $node_id (@{$data->{node_order}}) {
my $yaml_file = "$yaml_dir/$node_id.yaml";
my $node = YAML::XS::LoadFile("$yaml_file");
push @{$data->{nodes}}, $node;
}
Expand Down
3 changes: 0 additions & 3 deletions bin/cog2yaml
Expand Up @@ -26,7 +26,4 @@ if (my $title = $hash->{title}) {
$hash->{link} = $link;
}

$hash->{site_title} = "The TPF Inline Grant Info Site";
$hash->{heading} = "Up to date information on The Perl Foundation's 2014 grant for Inline.pm.";

print Dump $hash;
3 changes: 2 additions & 1 deletion config.yaml
@@ -1,6 +1,7 @@
site_title: The TPF Inline Grant Info Site
heading: Up to date information on The Perl Foundation's 2014 grant for Inline.pm.
recent:
node_order:
- cc8p
- mh4x
- m6z3
- ecf6
Expand Down
10 changes: 0 additions & 10 deletions template/head.html
Expand Up @@ -14,14 +14,4 @@
<!-- Custom styles for this template -->
<link href="css/blog.css" rel="stylesheet">
<link href="css/cog.css" rel="stylesheet">

<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<script src="http://getbootstrap.com/assets/js/ie-emulation-modes-warning.js"></script>

<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
3 changes: 0 additions & 3 deletions template/scripts.html
Expand Up @@ -3,9 +3,6 @@
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://getbootstrap.com/dist/js/bootstrap.min.js"></script>
<script src="http://getbootstrap.com/assets/js/docs.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="http://getbootstrap.com/assets/js/ie10-viewport-bug-workaround.js"></script>

<!-- Cog JS
================================================== -->
Expand Down

0 comments on commit 96de348

Please sign in to comment.