factor out gitweb-descriptions
[iankelling.org] / build.rb
index 4a6c268e3c445715f765bc3745c93058f9199f2b..f724fe92ca4e28a343ab2efb3a60c4788e0b21ef 100755 (executable)
--- a/build.rb
+++ b/build.rb
@@ -84,6 +84,12 @@ stdpage('blog', <<EOF)
 </ul>
 EOF
 
-stdpage('resume', md_to_html(File.read('../resume.md')))
+if File.exists? ('../resume.md')
+  stdpage('resume', md_to_html(File.read('../resume.md')))
+end
+
+stdpage('favorite-things', File.read('../favorite-things.html'))
 
-stdpage('favorite-stuff', File.read('../favorite-stuff.html'))
+# we could use ruby native stuff here, but this was
+# better documented so meh.
+system("scss --cache-location ../.sass-cache --update ../css:css")