diff options
author | Feuerfuchs <git@feuerfuchs.dev> | 2019-06-07 09:09:47 +0200 |
---|---|---|
committer | Feuerfuchs <git@feuerfuchs.dev> | 2019-06-07 09:09:47 +0200 |
commit | 49889fe083ce8cab6e340f6fb999cc8ebe42ad69 (patch) | |
tree | 3bf3c30732a30fe6f5c42a68ae82cc5f469c3f5b /Makefile | |
parent | Improved template readability (diff) | |
download | gopherproxy-49889fe083ce8cab6e340f6fb999cc8ebe42ad69.tar.gz gopherproxy-49889fe083ce8cab6e340f6fb999cc8ebe42ad69.tar.bz2 gopherproxy-49889fe083ce8cab6e340f6fb999cc8ebe42ad69.zip |
Embed CSS in executable the same way as fonts
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -6,8 +6,7 @@ dev: build | |||
6 | ./gopherproxy -bind 127.0.0.1:8000 | 6 | ./gopherproxy -bind 127.0.0.1:8000 |
7 | 7 | ||
8 | build: clean | 8 | build: clean |
9 | sassc -t compressed css/main.scss style.go | 9 | sassc -t compressed css/main.scss assets/style.css |
10 | sed -i "s/.*/package gopherproxy\n\nvar styletext = \`&\`/" style.go | ||
11 | pyftsubset fonts/iosevka-term-ss03-regular.ttf --name-IDs+=0,4,6 --text-file=glyphs.txt --flavor='woff' --output-file='assets/iosevka-term-ss03-regular.woff' | 10 | pyftsubset fonts/iosevka-term-ss03-regular.ttf --name-IDs+=0,4,6 --text-file=glyphs.txt --flavor='woff' --output-file='assets/iosevka-term-ss03-regular.woff' |
12 | pyftsubset fonts/iosevka-term-ss03-regular.ttf --name-IDs+=0,4,6 --text-file=glyphs.txt --flavor='woff2' --output-file='assets/iosevka-term-ss03-regular.woff2' | 11 | pyftsubset fonts/iosevka-term-ss03-regular.ttf --name-IDs+=0,4,6 --text-file=glyphs.txt --flavor='woff2' --output-file='assets/iosevka-term-ss03-regular.woff2' |
13 | go build -o ./gopherproxy ./cmd/gopherproxy/main.go | 12 | go build -o ./gopherproxy ./cmd/gopherproxy/main.go |