Commit 7142f17a authored by François Perrad's avatar François Perrad

add recipe for rock

parent 7672fbd7
......@@ -88,10 +88,9 @@ rockspec: $(TARBALL)
perl -e '$(rockspec_pl)' rockspec.luasql.in > rockspec/lua-coatpersistent-luasql-$(VERSION)-$(REV).rockspec
perl -e '$(rockspec_pl)' rockspec.lsqlite3.in > rockspec/lua-coatpersistent-lsqlite3-$(VERSION)-$(REV).rockspec
install-rock: clean dist rockspec
perl -pe 's{http://cloud.github.com/downloads/fperrad/lua-CoatPersistent/}{};' \
rockspec/lua-coatpersistent-$(VERSION)-$(REV).rockspec > lua-coatpersistent-$(VERSION)-$(REV).rockspec
luarocks install lua-coatpersistent-$(VERSION)-$(REV).rockspec
rock:
luarocks pack rockspec/lua-coatpersistent-luasql-$(VERSION)-$(REV).rockspec
luarocks pack rockspec/lua-coatpersistent-lsqlite3-$(VERSION)-$(REV).rockspec
ifdef LUA_PATH
export LUA_PATH:=$(LUA_PATH);../test/?.lua
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment