updated setup for latest apache script dependency
[iankelling.org] / build.rb
index 65264b68f5f99da34724f0beb01de08bedb267aa..d16f7da91b7beeee11de976b390d3c5dbd986466 100755 (executable)
--- a/build.rb
+++ b/build.rb
@@ -90,11 +90,18 @@ if File.exists? ('../resume.md')
 end
 
 stdpage('favorite-things', File.read('../favorite-things.html'))
+stdpage('about-me', File.read('../about-me.html'))
 
 # we could use ruby native stuff here, but this was
 # better documented so meh.
 # Force because it's cache is not perfect, it definitely misses renamed symlinks.
+
+ret = 0
 ["main", "gitweb-site"].each do |basename|
   cmd = "scss --force --cache-location ../.sass-cache"
-  system("#{cmd} ../css/#{basename}.scss css/#{basename}.css")
+  unless system("#{cmd} ../css/#{basename}.scss css/#{basename}.css")
+    ret = 1
+  end
 end
+
+exit ret