From 3d6742945be12a86376f51661e23def71532cc9c Mon Sep 17 00:00:00 2001 From: sneak Date: Wed, 10 Jun 2026 10:45:59 -0700 Subject: [PATCH] Add make install: copies compiled binary to ~/bin --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6ea39a8..5db00c1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: test lint fmt fmt-check check build build-bin dev clean docker hooks +.PHONY: test lint fmt fmt-check check build build-bin install dev clean docker hooks # Use `timeout` (GNU coreutils) when available so `make test` is hard-capped. # On macOS without coreutils this is empty and the cap is skipped. @@ -29,6 +29,11 @@ build: build-bin: nix-shell -p bun --run "bun build bin/quak.ts --compile --outfile bin/quak" +install: build-bin + mkdir -p ~/bin + cp bin/quak ~/bin/quak + chmod +x ~/bin/quak + dev: @$(YARN) tsc --watch