Remove irrelevant tests

This commit is contained in:
Sami Samhuri 2019-12-17 22:35:22 -08:00
parent 44fef3fb78
commit 527e9e6617
36 changed files with 1 additions and 671 deletions

View file

@ -20,8 +20,4 @@ gensite:
@echo
./bin/build-gensite
test: gensite
@echo
./bin/test
.PHONY: blog publish publish_beta gensite test
.PHONY: blog publish publish_beta gensite

View file

@ -1,10 +0,0 @@
<!doctype html>
<html>
<head>
<title>Valar Morghulis</title>
</head>
<body>
<h1><a href="http://example.net">Valar Morghulis</a></h1>
<p>hello world</p>
</body>
</html>

View file

@ -1 +0,0 @@
hello world

View file

@ -1,5 +0,0 @@
{
"author": "A man has no name",
"title": "Valar Morghulis",
"url": "http://example.net"
}

View file

@ -1,10 +0,0 @@
<!doctype html>
<html>
<head>
<title>{{ site.title }}</title>
</head>
<body>
<h1><a href="{{ site.url }}">{{ site.title }}</a></h1>
{{ body }}
</body>
</html>

View file

@ -1,62 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>gonzo journalism: gonzo journalism</title>
</head>
<body>
<header>
<div class="title">
<h1><a href="/">gonzo journalism</a></h1>
<br>
<h4>By <a href="/about">Hunter S. Thompson</a></h4>
</div>
</header>
<div class="container">
<article>
<header>
<h2>&rarr; <a href="https://placekitten.com">Cats</a></h2>
<time>18th December, 2019</time>
<a class="permalink" href="/posts/2019/12/cats">&infin;</a>
</header>
<p>Cats are neat. Look at these kittens!</p>
</article>
<article>
<header>
<h2><a href="/posts/2019/12/fear-and-loathing">Fear and Loathing in Las Vegas</a></h2>
<time>9th December, 2019</time>
<a class="permalink" href="/posts/2019/12/fear-and-loathing">&infin;</a>
</header>
<p>We were somewhere around Barstow on the edge of the desert when the drugs began to take hold.</p>
</article>
</div>
<footer class="container">
&copy; 2006 - 2019 <a href="/about">Hunter S. Thompson</a>
</footer>
</body>
</html>

View file

@ -1,44 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>gonzo journalism: Cats</title>
</head>
<body>
<header>
<div class="title">
<h1><a href="/">gonzo journalism</a></h1>
<br>
<h4>By <a href="/about">Hunter S. Thompson</a></h4>
</div>
</header>
<article>
<header>
<h2>&rarr; <a href="https://placekitten.com">Cats</a></h2>
<time>18th December, 2019</time>
<a class="permalink" href="/posts/2019/12/cats">&infin;</a>
</header>
<p>Cats are neat. Look at these kittens!</p>
</article>
<footer class="container">
&copy; 2006 - 2019 <a href="/about">Hunter S. Thompson</a>
</footer>
</body>
</html>

View file

@ -1,44 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>gonzo journalism: Fear and Loathing in Las Vegas</title>
</head>
<body>
<header>
<div class="title">
<h1><a href="/">gonzo journalism</a></h1>
<br>
<h4>By <a href="/about">Hunter S. Thompson</a></h4>
</div>
</header>
<article>
<header>
<h2><a href="/posts/2019/12/fear-and-loathing">Fear and Loathing in Las Vegas</a></h2>
<time>9th December, 2019</time>
<a class="permalink" href="/posts/2019/12/fear-and-loathing">&infin;</a>
</header>
<p>We were somewhere around Barstow on the edge of the desert when the drugs began to take hold.</p>
</article>
<footer class="container">
&copy; 2006 - 2019 <a href="/about">Hunter S. Thompson</a>
</footer>
</body>
</html>

View file

@ -1,64 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>gonzo journalism: December 2019</title>
</head>
<body>
<header>
<div class="title">
<h1><a href="/">gonzo journalism</a></h1>
<br>
<h4>By <a href="/about">Hunter S. Thompson</a></h4>
</div>
</header>
<div class="month">
<h1>December 2019</h1>
</div>
<article>
<header>
<h2>&rarr; <a href="https://placekitten.com">Cats</a></h2>
<time>18th December, 2019</time>
<a class="permalink" href="/posts/2019/12/cats">&infin;</a>
</header>
<p>Cats are neat. Look at these kittens!</p>
</article>
<article>
<header>
<h2><a href="/posts/2019/12/fear-and-loathing">Fear and Loathing in Las Vegas</a></h2>
<time>9th December, 2019</time>
<a class="permalink" href="/posts/2019/12/fear-and-loathing">&infin;</a>
</header>
<p>We were somewhere around Barstow on the edge of the desert when the drugs began to take hold.</p>
</article>
<footer class="container">
&copy; 2006 - 2019 <a href="/about">Hunter S. Thompson</a>
</footer>
</body>
</html>

View file

@ -1,67 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>gonzo journalism: 2019</title>
</head>
<body>
<header>
<div class="title">
<h1><a href="/">gonzo journalism</a></h1>
<br>
<h4>By <a href="/about">Hunter S. Thompson</a></h4>
</div>
</header>
<div class="year">
<h1>2019</h1>
<h2>
<a href="/posts/2019/12">December</a>
</h2>
<ul class="archive">
<li>
<a href="https://placekitten.com">&rarr; Cats</a>
<time>18 Dec</time>
<a class="permalink" href="/posts/2019/12/cats">&infin;</a>
</li>
<li>
<a href="/posts/2019/12/fear-and-loathing">Fear and Loathing in Las Vegas</a>
<time>9 Dec</time>
</li>
</ul>
</div>
<footer class="container">
&copy; 2006 - 2019 <a href="/about">Hunter S. Thompson</a>
</footer>
</body>
</html>

View file

@ -1,71 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>gonzo journalism: Archive</title>
</head>
<body>
<header>
<div class="title">
<h1><a href="/">gonzo journalism</a></h1>
<br>
<h4>By <a href="/about">Hunter S. Thompson</a></h4>
</div>
</header>
<h1>Archive</h1>
<div class="year">
<h2><a href="/posts/2019">2019</a></h2>
<h3>
<a href="/posts/2019/12">December</a>
</h3>
<ul class="archive">
<li>
<a href="https://placekitten.com">&rarr; Cats</a>
<time>18 Dec</time>
<a class="permalink" href="/posts/2019/12/cats">&infin;</a>
</li>
<li>
<a href="/posts/2019/12/fear-and-loathing">Fear and Loathing in Las Vegas</a>
<time>9 Dec</time>
</li>
</ul>
</div>
<footer class="container">
&copy; 2006 - 2019 <a href="/about">Hunter S. Thompson</a>
</footer>
</body>
</html>

View file

@ -1,10 +0,0 @@
---
Title: Cats
Author: Sami Samhuri
Date: 18th December, 2019
Link: https://placekitten.com
Timestamp: 1576656168
Tags: cats
---
Cats are neat. Look at these kittens!

View file

@ -1,9 +0,0 @@
---
Title: Fear and Loathing in Las Vegas
Author: Hunter S. Thompson
Date: 9th December, 2019
Timestamp: 1575964368
Tags: fear, loathing, las vegas
---
We were somewhere around Barstow on the edge of the desert when the drugs began to take hold.

View file

@ -1,8 +0,0 @@
{
"author": "Hunter S. Thompson",
"title": "gonzo journalism",
"url": "http://example.net",
"plugins": {
"posts": {}
}
}

View file

@ -1,12 +0,0 @@
<article>
<header>
{% if post.isLink %}
<h2>&rarr; <a href="{{ post.link }}">{{ post.title }}</a></h2>
{% else %}
<h2><a href="{{ post.path }}">{{ post.title }}</a></h2>
{% endif %}
<time>{{ post.formattedDate }}</time>
<a class="permalink" href="{{ post.path }}">&infin;</a>
</header>
{{ post.body }}
</article>

View file

@ -1,5 +0,0 @@
{% extends "site.html" %}
{% block body %}
{% include "partial-post.html" post %}
{% endblock %}

View file

@ -1,36 +0,0 @@
{% extends "site.html" %}
{% block body %}
<h1>{{ title }}</h1>
{% for year in years %}
<div class="year">
<h2><a href="{{ year.path }}">{{ year.title }}</a></h2>
{% for month in year.months %}
<h3>
<a href="{{ month.path }}">{{ month.name }}</a>
</h3>
<ul class="archive">
{% for post in month.posts %}
<li>
{% if post.isLink %}
<a href="{{ post.link }}">&rarr; {{ post.title }}</a>
{% else %}
<a href="{{ post.path }}">{{ post.title }}</a>
{% endif %}
<time>{{ post.day }} {{ month.abbreviation }}</time>
{% if post.isLink %}
<a class="permalink" href="{{ post.path }}">&infin;</a>
{% endif %}
</li>
{% endfor %}
</ul>
{% endfor %}
</div>
{% endfor %}
{% endblock %}

View file

@ -1,13 +0,0 @@
{% extends "site.html" %}
{% block body %}
<div class="month">
<h1>{{ title }}</h1>
</div>
{% for post in posts %}
{% include "partial-post.html" post %}
{% endfor %}
{% endblock %}

View file

@ -1,32 +0,0 @@
{% extends "site.html" %}
{% block body %}
<div class="year">
<h1>{{ title }}</h1>
{% for month in months %}
<h2>
<a href="{{ month.path }}">{{ month.name }}</a>
</h2>
<ul class="archive">
{% for post in month.posts %}
<li>
{% if post.isLink %}
<a href="{{ post.link }}">&rarr; {{ post.title }}</a>
{% else %}
<a href="{{ post.path }}">{{ post.title }}</a>
{% endif %}
<time>{{ post.day }} {{ month.abbreviation }}</time>
{% if post.isLink %}
<a class="permalink" href="{{ post.path }}">&infin;</a>
{% endif %}
</li>
{% endfor %}
</ul>
{% endfor %}
</div>
{% endblock %}

View file

@ -1,11 +0,0 @@
{% extends "site.html" %}
{% block body %}
<div class="container">
{% for post in recentPosts %}
{% include "partial-post.html" post %}
{% endfor %}
</div>
{% endblock %}

View file

@ -1,40 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
{% if title %}
<title>{{ site.title }}: {{ title }}</title>
{% elif page.title %}
<title>{{ site.title }}: {{ page.title }}</title>
{% else %}
<title>{{ site.title }}</title>
{% endif %}
{% for style in styles %}
<link rel="stylesheet" href="{{ style }}">
{% endfor %}
</head>
<body>
<header>
<div class="title">
<h1><a href="/">{{ site.title }}</a></h1>
<br>
<h4>By <a href="/about">{{ site.author }}</a></h4>
</div>
</header>
{% block body %}{{ body }}{% endblock %}
<footer class="container">
&copy; 2006 - {{ currentYear }} <a href="/about">{{ site.author }}</a>
</footer>
{% for script in scripts %}
<script defer src="{{ script }}"></script>
{% endfor %}
</body>
</html>

View file

@ -1,15 +0,0 @@
<!doctype html>
<html>
<head>
<title>Nvidia, fuck you!</title>
</head>
<body>
<h1><a href="http://example.net">Nvidia, fuck you!</a></h1>
<ul>
<li><a href="/projects/linux">linux</a></li>
</ul>
</body>
</html>

View file

@ -1,10 +0,0 @@
<!doctype html>
<html>
<head>
<title>Nvidia, fuck you!: linux</title>
</head>
<body>
<h1>linux</h1>
<h3>a (free) operating system (just a hobby, won't be big and professional like gnu)</h4>
</body>
</html>

View file

@ -1,8 +0,0 @@
{
"projects": [
{
"title": "linux",
"description": "a (free) operating system (just a hobby, won't be big and professional like gnu)"
}
]
}

View file

@ -1,8 +0,0 @@
{
"author": "Linus Torvalds",
"title": "Nvidia, fuck you!",
"url": "http://example.net",
"plugins": {
"projects": {}
}
}

View file

@ -1,10 +0,0 @@
<!doctype html>
<html>
<head>
<title>{{ site.title }}: {{ project.title }}</title>
</head>
<body>
<h1>{{ project.title }}</h1>
<h3>{{ project.description }}</h4>
</body>
</html>

View file

@ -1,15 +0,0 @@
<!doctype html>
<html>
<head>
<title>{{ site.title }}</title>
</head>
<body>
<h1><a href="{{ site.url }}">{{ site.title }}</a></h1>
<ul>
{% for project in projects %}
<li><a href="{{ project.path }}">{{ project.title }}</a></li>
{% endfor %}
</ul>
</body>
</html>

View file

@ -1,10 +0,0 @@
<!doctype html>
<html>
<head>
<title>Valar Morghulis</title>
</head>
<body>
<h1><a href="http://example.net">Valar Morghulis</a></h1>
<p>i liek milk</p>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

View file

@ -1,10 +0,0 @@
<!doctype html>
<html>
<head>
<title>Valar Morghulis</title>
</head>
<body>
<h1><a href="http://example.net">Valar Morghulis</a></h1>
<p>hello world</p>
</body>
</html>

View file

@ -1 +0,0 @@
i liek milk

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

View file

@ -1 +0,0 @@
hello world

View file

@ -1,5 +0,0 @@
{
"author": "A man has no name",
"title": "Valar Morghulis",
"url": "http://example.net"
}

View file

@ -1,10 +0,0 @@
<!doctype html>
<html>
<head>
<title>{{ site.title }}</title>
</head>
<body>
<h1><a href="{{ site.url }}">{{ site.title }}</a></h1>
{{ body }}
</body>
</html>

View file

@ -1,9 +0,0 @@
#!/bin/bash
set -e
for site in Tests/test-*; do
bin/gensite "$site/in" "$site/actual"
diff -bru "$site/expected" "$site/actual"
rm -r "$site/actual"
done