build: create 1.0-0.rockspec

This commit is contained in:
kevinhwang91 2023-01-05 21:12:07 +08:00
parent 38a4575da9
commit 842dca33e6
2 changed files with 48 additions and 17 deletions

View file

@ -0,0 +1,31 @@
package = 'promise-async'
version = '1.0-0'
source = {
url = 'git+https://github.com/kevinhwang91/promise-async.git',
tag = 'v1.0.0'
}
description = {
summary = 'Promise & Async in Lua',
detailed = 'The goal of promise-async is to port Promise & Async from JavaScript to Lua.',
homepage = 'https://github.com/kevinhwang91/promise-async',
license = ' BSD-3-Clause'
}
dependencies = {
'lua >= 5.1, <= 5.4'
}
build = {
type = 'builtin',
modules = {
async = 'lua/async.lua',
promise = 'lua/promise.lua',
['promise-async.compat'] = 'lua/promise-async/compat.lua',
['promise-async.error'] = 'lua/promise-async/error.lua',
['promise-async.loop'] = 'lua/promise-async/loop.lua',
['promise-async.utils'] = 'lua/promise-async/utils.lua'
},
copy_directories = {
'typings'
}
}

View file

@ -1,30 +1,30 @@
package = 'promise-async'
version = 'scm-0'
source = {
url = 'git+https://github.com/kevinhwang91/promise-async.git'
url = 'git+https://github.com/kevinhwang91/promise-async.git'
}
description = {
summary = 'Promise & Async in Lua',
detailed = 'The goal of promise-async is to port Promise & Async from JavaScript to Lua.',
homepage = 'https://github.com/kevinhwang91/promise-async',
license = ' BSD-3-Clause'
summary = 'Promise & Async in Lua',
detailed = 'The goal of promise-async is to port Promise & Async from JavaScript to Lua.',
homepage = 'https://github.com/kevinhwang91/promise-async',
license = ' BSD-3-Clause'
}
dependencies = {
'lua >= 5.1, <= 5.4'
'lua >= 5.1, <= 5.4'
}
build = {
type = 'builtin',
modules = {
async = 'lua/async.lua',
promise = 'lua/promise.lua',
['promise-async.compat'] = 'lua/promise-async/compat.lua',
['promise-async.error'] = 'lua/promise-async/error.lua',
['promise-async.loop'] = 'lua/promise-async/loop.lua',
['promise-async.utils'] = 'lua/promise-async/utils.lua'
},
copy_directories = {
type = 'builtin',
modules = {
async = 'lua/async.lua',
promise = 'lua/promise.lua',
['promise-async.compat'] = 'lua/promise-async/compat.lua',
['promise-async.error'] = 'lua/promise-async/error.lua',
['promise-async.loop'] = 'lua/promise-async/loop.lua',
['promise-async.utils'] = 'lua/promise-async/utils.lua'
},
copy_directories = {
'typings'
}
}
}