Skip to content

Add rockspec. #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "sockproc"]
path = sockproc
url = https://github.com/juce/sockproc.git
34 changes: 34 additions & 0 deletions lua-resty-shell-scm-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
package = "lua-resty-shell"
version = "scm-1"
source = {
url = "git+https://github.com/juce/lua-resty-shell.git",
}
description = {
summary = "Tiny subprocess/shell library to use with OpenResty application server.",
detailed = "",
homepage = "https://github.com/juce/lua-resty-shell",
license = "MIT",
}
dependencies = {
"lua >= 5.1",
}

build = {
type = "command",
build_command = [[
git submodule init \
&& git submodule update \
&& cd sockproc \
&& git checkout master \
&& git pull \
&& make
]],
install = {
lua = {
["resty.shell"] = "lib/resty/shell.lua",
},
bin = {
["sockproc"] = "sockproc/sockproc",
}
},
}
1 change: 1 addition & 0 deletions sockproc
Submodule sockproc added at fc8ad3