Skip to content

Commit 14c89df

Browse files
committed
ignore .db files and fixup makefile
1 parent 8ae7b20 commit 14c89df

2 files changed

Lines changed: 18 additions & 20 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
*.pyc
2+
*.db

makefile

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
1-
debug:
2-
./generate.py --debug --ipplan dynamic/ipplan --database ipplan.db --manifest dynamic/manifest --seatmap dynamic/seatmap.json
3-
41
test:
5-
python tests/TestPackages.py
6-
python tests/TestParser.py
7-
python tests/TestNetworks.py
8-
python tests/TestFirewall.py
9-
python tests/TestSeatmap.py
2+
python2.7 tests/TestPackages.py
3+
python2.7 tests/TestParser.py
4+
python2.7 tests/TestNetworks.py
5+
python2.7 tests/TestFirewall.py
6+
python2.7 tests/TestSeatmap.py
107

118
coverage:
12-
coverage erase
13-
coverage run -p tests/TestPackages.py
14-
coverage run -p tests/TestParser.py
15-
coverage run -p tests/TestNetworks.py
16-
coverage run -p tests/TestFirewall.py
17-
coverage run -p tests/TestSeatmap.py
18-
coverage run -p lib/ipcalc.py 1>/dev/null
19-
coverage combine
20-
coverage report -m
9+
coverage erase
10+
coverage run -p tests/TestPackages.py
11+
coverage run -p tests/TestParser.py
12+
coverage run -p tests/TestNetworks.py
13+
coverage run -p tests/TestFirewall.py
14+
coverage run -p tests/TestSeatmap.py
15+
coverage run -p lib/ipcalc.py 1>/dev/null
16+
coverage combine
17+
coverage report -m
2118

22-
draw: debug
23-
python viewer.py --database ipplan.db --hall D
19+
draw:
20+
python2.7 viewer.py --database ipplan.db --hall D
2421

2522
lint:
26-
pep8 -r .
23+
pep8 -r .

0 commit comments

Comments
 (0)