From f39b81a6ef192acb603af91869d0daf467a950c1 Mon Sep 17 00:00:00 2001 From: shahrul Date: Fri, 11 Oct 2024 23:59:15 +0800 Subject: [PATCH] publish to luarocks --- README.md | 5 ++++- .rockspec => luax-1.0.0-1.rockspec | 5 +++-- 2 files changed, 7 insertions(+), 3 deletions(-) rename .rockspec => luax-1.0.0-1.rockspec (88%) diff --git a/README.md b/README.md index 462173a..f87a8b5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ ## LuaX -Shallow React createElement implementation in LUA. Inspired by https://bvisness.me/luax/. Also support JSX like syntax parsing +React JSX implementation in LUA. +Luarocks Package [![Lua CI](https://github.com/syarul/luax/actions/workflows/lua.yml/badge.svg)](https://github.com/syarul/luax/actions/workflows/lua.yml) ### Usage @@ -51,3 +52,5 @@ You'll get, ```html
Hello, world!
``` + +> Inspired by https://bvisness.me/luax/. diff --git a/.rockspec b/luax-1.0.0-1.rockspec similarity index 88% rename from .rockspec rename to luax-1.0.0-1.rockspec index d14399a..647363c 100644 --- a/.rockspec +++ b/luax-1.0.0-1.rockspec @@ -1,8 +1,9 @@ package = "luax" -version = "1.0.0" +version = "1.0.0-1" source = { - url = "https://github.com/syarul/luax/archive/refs/tags/v1.0.0.tar.gz" + url = "https://github.com/syarul/luax/archive/refs/tags/v1.0.0.tar.gz", + dir = "luax-1.0.0" } description = { summary = "HTML parse in Lua",