summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-06-13 08:00:33 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-06-13 08:00:33 -0400
commit8397587f7ab3621e11c93cc1a3684843c0dc4176 (patch)
tree7c8596fe707b68baf1a91e6fe0edd071f09e5082 /Makefile
parent77dc1d8c258f0a3d7dc640356b30d1f173faf68e (diff)
downloadpython-coveragepy-git-8397587f7ab3621e11c93cc1a3684843c0dc4176.tar.gz
Use sass for css generation, to get nice hover highlights on lines
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dc2c2f96..d4b0270b 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,13 @@ sterile: clean
-docker image rm -f quay.io/pypa/manylinux1_i686 quay.io/pypa/manylinux1_x86_64
+CSS = coverage/htmlfiles/style.css
+SCSS = coverage/htmlfiles/style.scss
+
+css: $(CSS)
+$(CSS): $(SCSS)
+ sass --style=compact --sourcemap=none --no-cache $(SCSS) $@
+
LINTABLE = coverage tests igor.py setup.py __main__.py
lint: