Added luarocks build
This commit is contained in:
parent
4eabc25d87
commit
b06b2224fb
21
LICENCE
Normal file
21
LICENCE
Normal file
@ -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.
|
29
md-offliner-1.0-1.rockspec
Normal file
29
md-offliner-1.0-1.rockspec
Normal file
@ -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" }
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user