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`.
This commit is contained in:
Peter Melnichenko
2018-03-16 02:38:32 +03:00
committed by Hisham Muhammad
parent 37d8524e7e
commit 1dfb8c41e8
18 changed files with 8 additions and 478 deletions

View File

@@ -30,7 +30,7 @@ before_build:
- echo "Installing external deps"
build_script:
- luarocks make rockspecs/luafilesystem-cvs-3.rockspec
- luarocks make
before_test: