Browse Source

Add font css

master
Daniel Flanagan 1 month ago
parent
commit
bb6dcfb055
Signed by: lytedev GPG Key ID: 5B2020A0F9921EF4
2 changed files with 6 additions and 3 deletions
  1. +4
    -1
      makefile
  2. +2
    -2
      static/.gitignore

+ 4
- 1
makefile View File

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


+ 2
- 2
static/.gitignore View File

@ -1,2 +1,2 @@
/styles.css
/styles.css.map
/*.css
/*.css.map

Loading…
Cancel
Save