diff --git a/Makefile b/Makefile index 5feda821bb4becd8af0e1f4eb5047bc854b73ada..705b8ae9966e3506cbf8bac1d404b466225aa5f2 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: CC0-1.0 -.PHONY: all fmt fmt-check lint check test test-quiet ci dist clean +.PHONY: all fmt fmt-check lint check test test-quiet ci dist clean install all: fmt lint check test-quiet @@ -17,6 +17,10 @@ dist/wt: src/main.lua $(wildcard src/wt/*.lua) $(wildcard src/wt/cmd/*.lua) scri clean: rm -rf dist +install: dist/wt + @mkdir -p ~/.local/bin + cp dist/wt ~/.local/bin/ + fmt: lx fmt