Add test rock
This commit is contained in:
parent
975d41ec56
commit
ca15782699
@ -22,3 +22,5 @@ script:
|
||||
- export PATH=$PATH:$PWD/here/bin
|
||||
- lua -v
|
||||
- luarocks --version
|
||||
- luarocks make
|
||||
- hererocks-test
|
||||
|
||||
26
hererocks-test-scm-1.rockspec
Normal file
26
hererocks-test-scm-1.rockspec
Normal file
@ -0,0 +1,26 @@
|
||||
package = "hererocks-test"
|
||||
version = "scm-1"
|
||||
source = {
|
||||
url = "git://github.com/mpeterv/hererocks"
|
||||
}
|
||||
description = {
|
||||
summary = "A test rock for hererocks",
|
||||
detailed = "A test rock for hererocks",
|
||||
homepage = "https://github.com/mpeterv/hererocks",
|
||||
license = "MIT <http://opensource.org/licenses/MIT>"
|
||||
}
|
||||
dependencies = {
|
||||
"lua >= 5.1, < 5.4"
|
||||
}
|
||||
build = {
|
||||
type = "builtin",
|
||||
modules = {
|
||||
["hererocks.test"] = "test.lua"
|
||||
},
|
||||
install = {
|
||||
bin = {
|
||||
["hererocks-test"] = "hererocks-test.lua"
|
||||
}
|
||||
},
|
||||
copy_directories = {}
|
||||
}
|
||||
1
hererocks-test.lua
Normal file
1
hererocks-test.lua
Normal file
@ -0,0 +1 @@
|
||||
require "hererocks.test"
|
||||
Loading…
x
Reference in New Issue
Block a user