Moved to Makefile based build system
Got rid of janky build.sh script. Now uses a bunch of janky scripts and a make file - because that is bound to be easier to maintain.
This commit is contained in:
parent
39791363fa
commit
56f95cb9aa
13 changed files with 289 additions and 234 deletions
15
bin/generateRSS
Executable file
15
bin/generateRSS
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
lastUpdate="$(date --utc "+%a, %d %b %Y %H:%M:%S") UT"
|
||||
echo "<?xml version='1.0' encoding='UTF-8' ?>
|
||||
<rss xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:content=\"http://purl.org/rss/1.0/modules/content/\" xmlns:atom=\"http://www.w3.org/2005/Atom\" version=\"2.0\">
|
||||
<channel>
|
||||
<title><![CDATA[Jonathan Hodgson]]></title>
|
||||
<description><![CDATA[Jonathan Hodgson's Blog]]></description>
|
||||
<link>https://jonathanh.co.uk</link>
|
||||
<lastBuildDate>$lastUpdate</lastBuildDate>"
|
||||
|
||||
for i in "$@"; do
|
||||
cat "$i"
|
||||
done
|
||||
echo "</channel></rss>"
|
Loading…
Add table
Add a link
Reference in a new issue