X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=build.rb;h=65264b68f5f99da34724f0beb01de08bedb267aa;hp=370047f651db343069a2a5ad2c02253a90f33476;hb=c1871d16306dcb56d84582144a97ce51e040001d;hpb=a5d36b23813ae286ba3fb76e4f60ef6d267ba128 diff --git a/build.rb b/build.rb index 370047f..65264b6 100755 --- a/build.rb +++ b/build.rb @@ -94,5 +94,7 @@ stdpage('favorite-things', File.read('../favorite-things.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") +["main", "gitweb-site"].each do |basename| + cmd = "scss --force --cache-location ../.sass-cache" + system("#{cmd} ../css/#{basename}.scss css/#{basename}.css") +end