Skip to content

Commit

Permalink
Add Makefile to automate common tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
wbolster committed Nov 4, 2012
1 parent dd57775 commit 1bc4969
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

.PHONY: all clean test

all:
python setup.py build_ext --inplace --force

clean:
python setup.py clean
$(RM) leveldb.cpp leveldb.so

test:
python $$(which nosetests) -v test_leveldb.py

0 comments on commit 1bc4969

Please sign in to comment.