diff options
author | Feuerfuchs <git@feuerfuchs.dev> | 2019-11-11 18:58:24 +0100 |
---|---|---|
committer | Feuerfuchs <git@feuerfuchs.dev> | 2019-11-11 18:58:24 +0100 |
commit | d0b3c432bdc80796f8854651b2822662a3ccef70 (patch) | |
tree | 7a970f50d43ffdb8c1d39411742b0e021cf122f7 /Makefile | |
parent | Protocol handlers for gopher are not supported by browsers (diff) | |
download | gopherproxy-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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,8 +7,8 @@ dev: build | |||
7 | 7 | ||
8 | build: clean | 8 | build: 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 | ||