# Justfile for cc-libs # Run `just check` to lint all Lua code with luacheck. # List available recipes. default: @just --list # Install local development tooling. install: install-git-hooks # Install Git hooks for this repository. install-git-hooks: @mkdir -p .git/hooks @printf '%s\n' '#!/bin/sh' '' 'just check' > .git/hooks/pre-push @chmod +x .git/hooks/pre-push @printf '%s\n' 'Installed .git/hooks/pre-push' # Lint all Lua source with luacheck. check: luacheck .