aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6987ced..c40550f 100644
--- a/Makefile
+++ b/Makefile
@@ -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 \