Add font css
This commit is contained in:
parent
d421b70c5b
commit
bb6dcfb055
2 changed files with 6 additions and 3 deletions
5
makefile
5
makefile
|
@ -6,7 +6,7 @@ NETLIFY_DEPLOY ?= deploy -d public
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: static/styles.css ; @${HUGO}
|
build: static/font.css static/styles.css ; @${HUGO}
|
||||||
|
|
||||||
.PHONY: public
|
.PHONY: public
|
||||||
public: build
|
public: build
|
||||||
|
@ -30,6 +30,9 @@ publish: clean-css public ; @netlify ${NETLIFY_DEPLOY} && echo "Run \`make publi
|
||||||
.PHONY: publish-prod
|
.PHONY: publish-prod
|
||||||
publish-prod: clean-css public ; @netlify ${NETLIFY_DEPLOY} --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")
|
static/styles.css: src/stylus/styles.styl $(shell find src/stylus -regex ".*\.styl")
|
||||||
stylus --compress $< -o $@
|
stylus --compress $< -o $@
|
||||||
|
|
||||||
|
|
4
static/.gitignore
vendored
4
static/.gitignore
vendored
|
@ -1,2 +1,2 @@
|
||||||
/styles.css
|
/*.css
|
||||||
/styles.css.map
|
/*.css.map
|
||||||
|
|
Loading…
Reference in a new issue