From ffad2c3a67f30b14f140d5563d9616091449a655 Mon Sep 17 00:00:00 2001 From: Joe Wreschnig Date: Sun, 31 Aug 2014 23:29:41 +0200 Subject: [PATCH] New appcache build process. --- .gitignore | 1 + Makefile | 12 ++++++++++++ index.html | 24 +++++++++++------------- labelle.appcache.in | 17 +++++++++++++++++ labelle.manifest | 16 ---------------- 5 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 Makefile create mode 100644 labelle.appcache.in delete mode 100644 labelle.manifest diff --git a/.gitignore b/.gitignore index 5236e1e..48a0eb5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *~ +labelle.appcache diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..424d160 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +appcache>contents = $(shell grep -vFx -e "*" -e "CACHE MANIFEST" -e "CACHE:" -e "NETWORK:" -e "FALLBACK:" $(1) | grep -v -e "^\#" ) + +.PHONY: all clean + +.SECONDEXPANSION: +%.appcache: %.appcache.in $$(call appcache>contents,$$*.appcache.in) + sed "s/$$/Last-Updated: `date -u +'%Y-%m-%dT%H:%M:%SZ'`/" $< > $@ + +all: labelle.appcache + +clean: + $(RM) labelle.appcache diff --git a/index.html b/index.html index 36259ad..49c9102 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - + @@ -252,9 +252,9 @@
What is this?
The Labelle Litanizer generates random Animal Crossing: - New Leaf outfits. Ignoring the realities of the period - and distribution of your random number generator, all - possible outfits should have some chance of appearing. + New Leaf outfits. Ignoring the limitations of your + computer's random number generator, all possible outfits + have a chance of appearing.
What's with the name?
@@ -266,15 +266,13 @@
Why?
Latour litanies confront us with objects in a way that defies - our usual methods of grouping or reduction. In a similar way - the Labelle Litanizer asks us to consider the possible rather - than merely the desirable or expected. New Leaf - contains a huge number of objects you can wear (or otherwise - visibly present with, if you are uncomfortable saying you - are "wearing" an ice cream cone). But that scale and - diversity is obscured due to its grouping algorithms, the - small number presented at any one time, and our cultural - norms about dress. + our usual methods of grouping or reduction. Like them, the + Labelle Litanizer asks us to consider the possible rather than + the desirable or expected. New Leaf + contains a huge number of objects you can wear. But the scale + and diversity is obscured due to its grouping decisions, the + small number presented at any one time, and our cultural norms + about dress.
Can I restrict it to my items? diff --git a/labelle.appcache.in b/labelle.appcache.in new file mode 100644 index 0000000..a7eab7d --- /dev/null +++ b/labelle.appcache.in @@ -0,0 +1,17 @@ +CACHE MANIFEST +# + +index.html +acnl-wearables-list.js +acnl-outfit.js +fastclick.js + +VarelaRound-Regular.woff + +icon_128x128.png +labelle-2.png +twitter.png +spring.png +summer.png +autumn.png +winter.png diff --git a/labelle.manifest b/labelle.manifest deleted file mode 100644 index f1abac9..0000000 --- a/labelle.manifest +++ /dev/null @@ -1,16 +0,0 @@ -CACHE MANIFEST -# Version 2 -/css/main.css -/css/FiraSans-Light.woff -/css/FiraSans-LightItalic.woff -/css/FiraSans-Regular.woff -/css/FiraSans-RegularItalic.woff -/css/FiraSans-Bold.woff -/css/FiraSans-BoldItalic.woff -/logotype_horizontal_1.png -/logotype_horizontal_2.png -/logotype_horizontal_3.png -labelle.jpg -twitter.png -acnl-wearables-list.js -acnl-outfit.js -- 2.30.2