Skip to content
Snippets Groups Projects
Commit 85b917ce authored by Stefano Zacchiroli's avatar Stefano Zacchiroli
Browse files

sync Makefile with py-template

parent bac7a1aa
No related branches found
No related tags found
No related merge requests found
BASENAME := $(shell basename `pwd` | sed 's/.*-//')
PKGNAME = swh.$(BASENAME)
PKGDIR = swh/$(BASENAME)
EXTRA_DIRS := $(shell test -d bin && echo bin)
NOSE = nosetests3
NOSEFLAGS = -v
FLAKE = flake8
FLAKEFLAGS =
all:
.PHONY: test
test:
$(NOSE) $(NOSEFLAGS)
.PHONY: coverage
coverage:
$(NOSE) $(NOSEFLAGS) --with-coverage --cover-package $(PKGNAME)
.PHONY: check
check:
$(FLAKE) $(FLAKEFLAGS) $(PKGDIR) $(EXTRA_DIRS)
# Makefile driver for SWH Python modules. DO NOT CHANGE.
# You can add custom Makefile rules to Makefile.local
include ../Makefile.python
-include Makefile.local
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment