X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=build.rb;fp=build.rb;h=620fe89c345937dcec223e737a135069df2f7503;hp=f724fe92ca4e28a343ab2efb3a60c4788e0b21ef;hb=d668aa72f0503fe96aff5865215602e8f87e1a56;hpb=956d10ee358397728a058b51551ccd031c226c31 diff --git a/build.rb b/build.rb index f724fe9..620fe89 100755 --- a/build.rb +++ b/build.rb @@ -30,6 +30,7 @@ blog_list = [] # table data FileUtils.mkdir_p('../proposed-comments') FileUtils.chmod(0777, '../proposed-comments') FileUtils.rm Dir.glob('blog/*') +FileUtils.rm Dir.glob('css/*') $db = db_init # date has no type affinity, since floating point (REAL) doesn't @@ -92,4 +93,6 @@ stdpage('favorite-things', File.read('../favorite-things.html')) # we could use ruby native stuff here, but this was # better documented so meh. -system("scss --cache-location ../.sass-cache --update ../css:css") +# 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")