From b06b2224fb3acb87f12fc3f401876e6c072cd72b Mon Sep 17 00:00:00 2001 From: Dm1tr1y147 Date: Thu, 23 Jul 2020 20:11:18 +0500 Subject: [PATCH] Added luarocks build --- LICENCE | 21 +++++++++++++++++++++ md-offliner-1.0-1.rockspec | 29 +++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 LICENCE create mode 100644 md-offliner-1.0-1.rockspec diff --git a/LICENCE b/LICENCE new file mode 100644 index 0000000..3680c6c --- /dev/null +++ b/LICENCE @@ -0,0 +1,21 @@ +MIT License +​ +Copyright (c) 2020 Shishkov Dmitriy +​ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/md-offliner-1.0-1.rockspec b/md-offliner-1.0-1.rockspec new file mode 100644 index 0000000..9b88a9c --- /dev/null +++ b/md-offliner-1.0-1.rockspec @@ -0,0 +1,29 @@ +package = "md-offliner" +version = "1.0-1" +source = { + url = "git://github.com/Dm1tr1y147/md_offliner", + tag = "v1.0", +} +description = { + summary = "Markdown article online assets downloader.", + detailed = [[ + This tool helps to download all images in markdown document and put them into one folder with changed paths. + ]], + license = "MIT/X11" +} +dependencies = { + "lua >= 5.1, <= 5.4", + "luasocket >= 2.0.2-6", + "luasec >= 0.9-1", +} +build = { + type = "builtin", + modules = { + main = "src/main.lua", + ["src.arg_proc"] = "src/arg_proc.lua", + ["src.netw_ops"] = "src/netw_ops.lua", + ["src.process_md"] = "src/process_md.lua", + ["lib.argparse"] = "lib/argparse.lua" + }, + copy_directories = { "spec" } +} \ No newline at end of file