build: add tooling and dev environment configs

Problem: need formatting, linting, testing, and nix dev shell configs.

Solution: add stylua, selene, lua-language-server, busted, pre-commit,
flake.nix, and luarocks rockspec configuration.
This commit is contained in:
Barrett Ruth 2026-02-24 15:08:44 -05:00
parent 717a6133cd
commit b617ee284e
9 changed files with 181 additions and 0 deletions

30
rockspec Normal file
View file

@ -0,0 +1,30 @@
rockspec_format = '3.0'
package = 'todo.nvim'
version = 'scm-1'
source = {
url = 'git+https://github.com/barrettruth/todo.nvim.git',
}
description = {
summary = 'Oil-like task management for Neovim',
homepage = 'https://github.com/barrettruth/todo.nvim',
license = 'MIT',
}
dependencies = {
'lua >= 5.1',
}
test_dependencies = {
'nlua',
'busted >= 2.1.1',
}
test = {
type = 'busted',
}
build = {
type = 'builtin',
}