diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-06-25 18:37:11 +0200 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-06-25 18:37:11 +0200 |
commit | 91d413b3a15a15fd8b710d8f5a1532d2e3de6f05 (patch) | |
tree | 621b9880485445da3df09c08bd5524f187538e15 /Makefile | |
parent | 438aa0e19b628923482dbc3fadcbb2e1ecfd5d7a (diff) | |
download | lens-91d413b3a15a15fd8b710d8f5a1532d2e3de6f05.tar.gz lens-91d413b3a15a15fd8b710d8f5a1532d2e3de6f05.tar.bz2 lens-91d413b3a15a15fd8b710d8f5a1532d2e3de6f05.zip |
feat: Add make rules for upx compressing
I don't know if that will work in the long run but I have added just in
case.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -6,11 +6,17 @@ GO_TEST=go test -v -timeout 100ms -shuffle on -parallel `nproc` GO_BUILD=go build -v -ldflags '-w -s' GO_RUN=go run -v -all: build sass +all: build -build: +build: sass $(GO_BUILD) -o $(OUT) $(SERVER) +compress: build + upx -1 $(OUT) + +compress_into_oblivion: build + upx --best --ultra-brute $(OUT) + run: sass $(GO_RUN) $(SERVER) \ --log-level error \ |