From bb6dcfb055062e30cc2c9a2504906ce8f448e735 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Wed, 16 Dec 2020 11:12:42 -0600 Subject: [PATCH] Add font css --- makefile | 5 ++++- static/.gitignore | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index b906ce9..82694fa 100644 --- a/makefile +++ b/makefile @@ -6,7 +6,7 @@ NETLIFY_DEPLOY ?= deploy -d public all: build .PHONY: build -build: static/styles.css ; @${HUGO} +build: static/font.css static/styles.css ; @${HUGO} .PHONY: public public: build @@ -30,6 +30,9 @@ publish: clean-css public ; @netlify ${NETLIFY_DEPLOY} && echo "Run \`make publi .PHONY: publish-prod publish-prod: clean-css public ; @netlify ${NETLIFY_DEPLOY} --prod +static/font.css: src/stylus/font.styl + stylus --compress $< -o $@ + static/styles.css: src/stylus/styles.styl $(shell find src/stylus -regex ".*\.styl") stylus --compress $< -o $@ diff --git a/static/.gitignore b/static/.gitignore index d986a92..84dae2b 100644 --- a/static/.gitignore +++ b/static/.gitignore @@ -1,2 +1,2 @@ -/styles.css -/styles.css.map +/*.css +/*.css.map