aboutsummaryrefslogtreecommitdiff
path: root/luafilesystem-scm-1.rockspec
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2018-03-16 02:38:32 +0300
committerHisham Muhammad <hisham@gobolinux.org>2018-03-15 20:38:32 -0300
commit1dfb8c41e8a7e689959baeaf2961437db9615f74 (patch)
tree5d12a1c8549314e7e8a26d45c59676a22775e276 /luafilesystem-scm-1.rockspec
parent37d8524e7e5237d3d67b2db4692b00b0eb95077b (diff)
downloadluafilesystem-1dfb8c41e8a7e689959baeaf2961437db9615f74.tar.gz
luafilesystem-1dfb8c41e8a7e689959baeaf2961437db9615f74.tar.bz2
luafilesystem-1dfb8c41e8a7e689959baeaf2961437db9615f74.zip
Replace rockspecs/ with a single scm rockspec (#108)
There is no need to keep rockspecs for older versions - it's enough to ensure that `luarocks make` builds currently checked out version. `luarocks new-version <rockspec> <version> --tag=<tag>` generates rockspecs for releases. Use `scm` instead of `dev` as LuaRocks 2 thinks that `dev` versions are less than normal versions like 1.6.3, making it tricky to use bleeding-edge version as a dependency with a constraint such as `luafilesystem >= 1.6.3`.
Diffstat (limited to 'luafilesystem-scm-1.rockspec')
-rw-r--r--luafilesystem-scm-1.rockspec28
1 files changed, 28 insertions, 0 deletions
diff --git a/luafilesystem-scm-1.rockspec b/luafilesystem-scm-1.rockspec
new file mode 100644
index 0000000..71cf19b
--- /dev/null
+++ b/luafilesystem-scm-1.rockspec
@@ -0,0 +1,28 @@
1package = "luafilesystem"
2version = "scm-1"
3source = {
4 url = "git://github.com/keplerproject/luafilesystem"
5}
6description = {
7 summary = "File System Library for the Lua Programming Language",
8 detailed = [[
9 LuaFileSystem is a Lua library developed to complement the set of
10 functions related to file systems offered by the standard Lua
11 distribution. LuaFileSystem offers a portable way to access the
12 underlying directory structure and file attributes.
13 ]],
14 license = "MIT/X11"
15}
16dependencies = {
17 "lua >= 5.1"
18}
19build = {
20 type = "builtin",
21 modules = {
22 lfs = "src/lfs.c"
23 },
24 copy_directories = {
25 "doc",
26 "tests"
27 }
28}