forked from ctsit/redi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
49 lines (43 loc) · 1.17 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future
all: build
build: egg
egg:
python setup.py bdist_egg
install:
easy_install dist/REDI*.egg
test: tests
tests: coverage
[ ! -d config/rules ] || PYTHONPATH=bin \
python -munittest discover config/rules
coverage:
ARCHFLAGS=$(ARCHFLAGS) PYTHONPATH=bin \
python setup.py nosetests
lint:
which pylint || sudo easy_install pylint
ARCHFLAGS=$(ARCHFLAGS) PYTHONPATH=bin \
pylint -f parseable bin | tee pylint.out
clean:
find . -type f -name "*.pyc" -print | xargs rm -f
rm -rf out
rm -rf dist
rm -rf build
rm -rf REDI.egg-info
rm -rf nosetests.xml cover .coverage coverage.xml
rm -rf *.egg
rm -f pylint.out
rm -f formData.xml
rm -f rawData.xml
rm -f translationalData.xml
rm -f rawDataWithFormName.xml
rm -f rawDataWithFormCompletedField.xml
rm -f rawDataWithDatumAndUnitsFieldNames.xml
rm -f rawDataSorted.xml
rm -f rawDataWithAllUpdates.xml
rm -f rawDataWithFormImported.xml
rm -f rawDataWithFormStatus.xml
rm -f all_form_events.xml
rm -f person_form_event_tree.xml
rm -f person_form_event_tree_with_data.xml
rm -rf vagrant/data/
rm -f vagrant/demographic_test_data.csv
rm -f vagrant/redi.db