X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=build.rb;h=d16f7da91b7beeee11de976b390d3c5dbd986466;hp=370047f651db343069a2a5ad2c02253a90f33476;hb=7c4081c2716a935c0e5a618dfed4cf16500bdec1;hpb=f32a9440b9055001ef3749999eaf3b4d7974932c diff --git a/build.rb b/build.rb index 370047f..d16f7da 100755 --- a/build.rb +++ b/build.rb @@ -90,9 +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. -# This creates a few extra files, but oh well. -system("scss --force --cache-location ../.sass-cache --update ../css:css") + +ret = 0 +["main", "gitweb-site"].each do |basename| + cmd = "scss --force --cache-location ../.sass-cache" + unless system("#{cmd} ../css/#{basename}.scss css/#{basename}.css") + ret = 1 + end +end + +exit ret