Skip to content

Commit f792285

Browse files
committed
Introduce Lua rockspec
Closes #88
1 parent ce681b4 commit f792285

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

unreliablefs-scm-1.rockspec

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
package = 'unreliablefs'
2+
version = 'scm-1'
3+
4+
description = {
5+
summary = "A FUSE-based fault injection filesystem",
6+
detailed = [[
7+
is a FUSE-based fault injection filesystem that allows to change
8+
fault-injections in runtime using simple configuration file.
9+
10+
Supported fault injections are:
11+
12+
- `errinj_errno` - return error value and set random errno;
13+
- `errinj_kill_caller` - send SIGKILL to a process that invoked file operation;
14+
- `errinj_noop` - replace file operation with no operation;
15+
- `errinj_slowdown` - slowdown invoked file operation;
16+
]],
17+
homepage = "https://github.com/ligurio/unreliablefs",
18+
maintainer = "Sergey Bronnikov <estetus@gmail.com>",
19+
license = "MIT",
20+
}
21+
22+
source = {
23+
url = 'git+https://github.com/ligurio/unreliablefs.git',
24+
branch = 'master',
25+
}
26+
27+
external_dependencies = {
28+
FUSE = {
29+
header = 'fuse.h',
30+
},
31+
}
32+
33+
build = {
34+
type = 'cmake',
35+
copy_directories = {},
36+
variables = {
37+
CMAKE_INSTALL_PREFIX = "$(PREFIX)",
38+
},
39+
}

0 commit comments

Comments
 (0)