Skip to content

chore: migrate to Lua 5.5 and lux 0.27.0, replace argparse with argp - #10

Merged
tkolleh merged 24 commits into
mainfrom
gum
Apr 4, 2026
Merged

chore: migrate to Lua 5.5 and lux 0.27.0, replace argparse with argp#10
tkolleh merged 24 commits into
mainfrom
gum

Conversation

@tkolleh

@tkolleh tkolleh commented Apr 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Modernize Justfile to utilize latest just 1.48.1 features
  • Use native path joining (/)
  • Use built-in conditional checks like os() == 'macos'
  • Use path_exists() for filesystem evaluation
  • Use clean() and absolute_path() for resolving string paths
  • Add explicit [doc('...')] attributes for recipe documentation

tkolleh added 24 commits April 3, 2026 23:00
Upgrade syntax to leverage:
- Native path joining (/)
- Built-in conditional checks like os() == 'macos'
- path_exists() for filesystem evaluation
- clean() and absolute_path() for resolving string paths
- Explicit [doc('...')] attributes for recipe documentation
- Rename unused err parameters to _err in roda/init.lua
- Add .luacheckrc to suppress stylistic warnings
- Add CI-specific just recipes (lint-ci, test-ci) for Lua 5.4
- Update GitHub workflow to use just and pass WITH_SHARED_LIBUV=OFF
- Ensure --no-lock flag is used to avoid lockfile conflicts
- Replace apt install with curl download to get newer version supporting unstable setting
- Ensure CI uses compatible just version with local development
- Rename Justfile to justfile (lowercase standard)
- Use lua_prefix variable derived from brew --prefix on macOS, /usr elsewhere
- Add lua_version variable (default 5.5) for include path construction
- Replace lua55_dir references with lua_prefix and lua_include
- Allow LUA_PREFIX and LUA_INCLUDE environment overrides for cross-platform compatibility
@tkolleh
tkolleh marked this pull request as ready for review April 4, 2026 13:55
@tkolleh
tkolleh merged commit 828975b into main Apr 4, 2026
2 checks passed
@tkolleh
tkolleh deleted the gum branch April 4, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant