Skip to content

Commit

Permalink
cloc target in makefile, 5070 lines atm
Browse files Browse the repository at this point in the history
bzr revid: al@openerp.com-20110407221740-6dbryyx58alqxo0m
  • Loading branch information
antonylesuisse committed Apr 7, 2011
1 parent f2ba78f commit a20a5d3
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.PHONY: all release clean

HOST = 127.0.0.1
PORT = 8080


all: run

run:
python openerp-web.py -a ${HOST} -p ${PORT}

release:
python setup.py sdist

install:
python setup.py install

clean:
@find . -name '*.pyc' -exec rm -f {} +
@find . -name '*.pyo' -exec rm -f {} +
@find . -name '*.swp' -exec rm -f {} +
@find . -name '*~' -exec rm -f {} +
@rm -rf build
@rm -rf dist
@rm -rf *.egg-info

cloc:
cloc openerpweb/*.py addons/*/controllers/*.py addons/*/static/src/*.js addons/*/static/src/js/*.js addons/*/static/src/css/*.css addons/*/static/src/xml/*.xml

0 comments on commit a20a5d3

Please sign in to comment.