Skip to content

Commit

Permalink
Merge branch 'rover' into templating
Browse files Browse the repository at this point in the history
  • Loading branch information
mikz committed Oct 12, 2017
2 parents b401321 + 335112d commit b9f3d68
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ rover: $(ROVER)
@echo $(ROVER)

dependencies: $(ROVER)
$(ROVER) install
$(ROVER) install --roverfile=apicast/Roverfile

lua_modules/bin/rover:
@LUAROCKS_CONFIG=luarocks.config luarocks install --server=http://luarocks.org/dev lua-rover --tree lua_modules 1>&2
@LUAROCKS_CONFIG=apicast/config-5.1.lua luarocks install --server=http://luarocks.org/dev lua-rover --tree lua_modules 1>&2

clean-containers: apicast-source
$(DOCKER_COMPOSE) down --volumes
Expand Down
7 changes: 5 additions & 2 deletions Roverfile → apicast/Roverfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
luarocks {

rockspec 'apicast/apicast-0.1-0.rockspec',
rockspec 'apicast-0.1-0.rockspec',

module { 'liquid' },
module { 'argparse' },
module { 'ansicolors' },
module { 'penlight' },


group 'testing' {
module { 'busted' },
},

group 'development' {
rockspec 'rockspec',
module {'ldoc'},
module {'lua-resty-repl'},
module {'lua-resty-iputils', '0.3.0'},
}
}

File renamed without changes.
4 changes: 4 additions & 0 deletions apicast/config-5.1.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- vim: set ft=lua:
rocks_trees = {
{ name = 'rover', root = [[lua_modules]] },
}
4 changes: 0 additions & 4 deletions luarocks.config

This file was deleted.

0 comments on commit b9f3d68

Please sign in to comment.