Register a "tests" target
This commit is contained in:
parent
e403c0bf04
commit
d161fcc54d
|
@ -3,8 +3,17 @@ version=0.0.2
|
|||
config=ent,h,sh
|
||||
|
||||
subdirs=data,doc,include,src,tests,tools
|
||||
targets=tests
|
||||
dist=COPYING,Makefile,config.ent,config.h,config.sh
|
||||
|
||||
#targets
|
||||
[tests]
|
||||
type=command
|
||||
command=cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/clint.log" "$(OBJDIR)tests/fixme.log" "$(OBJDIR)tests/pylint.log" "$(OBJDIR)tests/shlint.log" "$(OBJDIR)tests/tests.log"; else $(MAKE) clint.log fixme.log pylint.log shlint.log tests.log; fi)
|
||||
depends=all
|
||||
enabled=0
|
||||
phony=1
|
||||
|
||||
#dist
|
||||
[COPYING]
|
||||
install=$(PREFIX)/share/doc/$(PACKAGE)
|
||||
|
|
|
@ -33,13 +33,16 @@ depends=sqlite3.sql
|
|||
type=script
|
||||
script=./pylint.sh
|
||||
depends=pylint.sh
|
||||
enabled=0
|
||||
|
||||
[shlint.log]
|
||||
type=script
|
||||
script=./shlint.sh
|
||||
depends=shlint.sh
|
||||
enabled=0
|
||||
|
||||
[tests.log]
|
||||
type=script
|
||||
script=./tests.sh
|
||||
depends=pkgconfig.sh,python.sh,$(OBJDIR)sqlite3$(SOEXT),tests.sh
|
||||
enabled=0
|
||||
|
|
Loading…
Reference in New Issue
Block a user