aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFeuerfuchs <git@feuerfuchs.dev>2019-06-07 09:09:47 +0200
committerFeuerfuchs <git@feuerfuchs.dev>2019-06-07 09:09:47 +0200
commit49889fe083ce8cab6e340f6fb999cc8ebe42ad69 (patch)
tree3bf3c30732a30fe6f5c42a68ae82cc5f469c3f5b /Makefile
parentImproved template readability (diff)
downloadgopherproxy-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--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 247b88c..f25707c 100644
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,7 @@ dev: build
6 ./gopherproxy -bind 127.0.0.1:8000 6 ./gopherproxy -bind 127.0.0.1:8000
7 7
8build: clean 8build: 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