Change summary
Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Detailed changes
@@ -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