From 4982f28cc885e141da36b6c5eec6408ca4aeb811 Mon Sep 17 00:00:00 2001 From: dhy1996 Date: Tue, 19 May 2020 08:01:43 +0000 Subject: [PATCH 1/2] uploaded to opm under billythedummy/, testing --- .gitignore | 3 +++ dist.ini | 10 ++++++++++ slaxdom.lua => lib/slaxdom.lua | 0 slaxml.lua => lib/slaxml.lua | 0 test/test.lua | 2 +- 5 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 dist.ini rename slaxdom.lua => lib/slaxdom.lua (100%) rename slaxml.lua => lib/slaxml.lua (100%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5556ea1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# opm builds +SLAXML-*/* +*.tar* \ No newline at end of file diff --git a/dist.ini b/dist.ini new file mode 100644 index 0000000..ad378a0 --- /dev/null +++ b/dist.ini @@ -0,0 +1,10 @@ +name=SLAXML +abstract=pure-Lua SAX-like streaming XML parser +version=0.8 +author=Gavin Kistner +is_original=yes +license=2bsd +lib_dir=lib +doc_dir=lib +repo_link=https://github.com/Phrogz/SLAXML +main_module=lib/slaxml.lua \ No newline at end of file diff --git a/slaxdom.lua b/lib/slaxdom.lua similarity index 100% rename from slaxdom.lua rename to lib/slaxdom.lua diff --git a/slaxml.lua b/lib/slaxml.lua similarity index 100% rename from slaxml.lua rename to lib/slaxml.lua diff --git a/test/test.lua b/test/test.lua index dbf5c34..4b79675 100644 --- a/test/test.lua +++ b/test/test.lua @@ -1,4 +1,4 @@ -package.path = '../?.lua;' .. package.path +package.path = '../lib/?.lua;' .. package.path _ENV = require('lunity')() local SLAXML = require 'slaxdom' From 2ae14349ec6a6eae59662c3254ed05c0136358e3 Mon Sep 17 00:00:00 2001 From: Han Yang Date: Fri, 22 May 2020 10:34:02 +0000 Subject: [PATCH 2/2] Fix license=MIT --- dist.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist.ini b/dist.ini index ad378a0..6353a7e 100644 --- a/dist.ini +++ b/dist.ini @@ -3,8 +3,8 @@ abstract=pure-Lua SAX-like streaming XML parser version=0.8 author=Gavin Kistner is_original=yes -license=2bsd +license=mit lib_dir=lib doc_dir=lib repo_link=https://github.com/Phrogz/SLAXML -main_module=lib/slaxml.lua \ No newline at end of file +main_module=lib/slaxml.lua