Skip to content

Commit

Permalink
Added a simple Makefile for Gammapy.
Browse files Browse the repository at this point in the history
  • Loading branch information
mapazarr authored and cdeil committed Aug 2, 2015
1 parent e2858d8 commit b96259c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Makefile
@@ -0,0 +1,20 @@
MODULE = gammapy

CURDIR = $(shell pwd)

build:
python $(CURDIR)/setup.py develop

test: build
python $(CURDIR)/setup.py test

doc:
python $(CURDIR)/setup.py build_sphinx

all: build test doc

clean:
rm -rf $(CURDIR)/build $(CURDIR)/docs/_build $(CURDIR)/docs/api $(CURDIR)/htmlcov

distclean: clean
python $(CURDIR)/setup.py develop -u

0 comments on commit b96259c

Please sign in to comment.