iankelling.org
/
git
/
iankelling.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a5d36b2
)
faster, cleaner sass generation
author
Ian Kelling
<ian@iankelling.org>
Tue, 4 Oct 2016 17:14:40 +0000
(10:14 -0700)
committer
Ian Kelling
<ian@iankelling.org>
Tue, 4 Oct 2016 17:14:40 +0000
(10:14 -0700)
build.rb
patch
|
blob
|
history
diff --git
a/build.rb
b/build.rb
index 370047f651db343069a2a5ad2c02253a90f33476..65264b68f5f99da34724f0beb01de08bedb267aa 100755
(executable)
--- 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.
# 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