aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFeuerfuchs <git@feuerfuchs.dev>2019-11-11 18:58:24 +0100
committerFeuerfuchs <git@feuerfuchs.dev>2019-11-11 18:58:24 +0100
commitd0b3c432bdc80796f8854651b2822662a3ccef70 (patch)
tree7a970f50d43ffdb8c1d39411742b0e021cf122f7 /Makefile
parentProtocol handlers for gopher are not supported by browsers (diff)
downloadgopherproxy-d0b3c432bdc80796f8854651b2822662a3ccef70.tar.gz
gopherproxy-d0b3c432bdc80796f8854651b2822662a3ccef70.tar.bz2
gopherproxy-d0b3c432bdc80796f8854651b2822662a3ccef70.zip
Replaced UglifyJS with Terser, include whole asset path in struct, display errors in template instead of basic HTML
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 652aee5..feebcfd 100644
--- a/Makefile
+++ b/Makefile
@@ -7,8 +7,8 @@ dev: build
7 7
8build: clean 8build: clean
9 sassc -t compressed css/main.scss assets/style.css 9 sassc -t compressed css/main.scss assets/style.css
10 tsc --strict --module none --outFile /dev/stdout js/* | uglifyjs -c -m -o assets/main.js -- 10 tsc --strict --module none --outFile /dev/stdout js/* | terser --compress --mangle -o assets/main.js --
11 pyftsubset fonts/iosevka-term-ss03-regular.ttf --name-IDs+=0,4,6 --text-file=fonts/glyphs.txt --flavor='woff' --output-file='assets/iosevka-term-ss03-regular.woff' 11 pyftsubset fonts/iosevka-term-ss03-regular.ttf --name-IDs+=0,4,6 --text-file=fonts/glyphs.txt --flavor='woff' --with-zopfli --output-file='assets/iosevka-term-ss03-regular.woff'
12 pyftsubset fonts/iosevka-term-ss03-regular.ttf --name-IDs+=0,4,6 --text-file=fonts/glyphs.txt --flavor='woff2' --output-file='assets/iosevka-term-ss03-regular.woff2' 12 pyftsubset fonts/iosevka-term-ss03-regular.ttf --name-IDs+=0,4,6 --text-file=fonts/glyphs.txt --flavor='woff2' --output-file='assets/iosevka-term-ss03-regular.woff2'
13 go build -o ./gopherproxy ./cmd/gopherproxy/main.go 13 go build -o ./gopherproxy ./cmd/gopherproxy/main.go
14 14