summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2012-10-04 18:59:09 +0100
committerReuben Thomas <rrt@sc3d.org>2012-10-04 18:59:09 +0100
commitbb7fefc410b84fcfea40b0abc84383fd9d081f88 (patch)
treed0c7fcb81d5677e354416f4e9f31926becd9578d
parent44176181c728575b9e07f75709b735551ae17457 (diff)
downloadlrexlib-bb7fefc410b84fcfea40b0abc84383fd9d081f88.tar.gz
Makefile: add a convenience install target for testing
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f350546..9eac009 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,11 @@ VERSION = 2.7.0
PROJECT_VERSIONED = $(PROJECT)-$(VERSION)
DISTFILE = $(PROJECT_VERSIONED).zip
+install:
+ @for i in *.rockspec; do \
+ luarocks make $$i; \
+ done
+
check:
@if test -z "$(LUA)"; then echo "Set LUA to run tests"; exit 1; fi
@for i in $(REGNAMES); do \