Browse Source

Add font css

master
Daniel Flanagan 7 months ago
parent
commit
bb6dcfb055
Signed by: lytedev GPG Key ID: 5B2020A0F9921EF4
  1. 5
      makefile
  2. 4
      static/.gitignore

5
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 $@

4
static/.gitignore

@ -1,2 +1,2 @@
/styles.css
/styles.css.map
/*.css
/*.css.map
Loading…
Cancel
Save