# SPDX-FileCopyrightText: Amolith # # SPDX-License-Identifier: CC0-1.0 .PHONY: all fmt fmt-check lint check test ci dist clean all: fmt lint check test # Bundle all modules into single distributable file dist: dist/wt dist/wt: src/main.lua $(wildcard src/wt/*.lua) $(wildcard src/wt/cmd/*.lua) scripts/bundle.lua @mkdir -p dist lua scripts/bundle.lua > dist/wt chmod +x dist/wt clean: rm -rf dist fmt: lx fmt fmt-check: lx fmt --check lint: lx lint check: lx check test: lx test ci: fmt-check lint check test