dhess / lobbyists

Parsers and utilities for the Senate LD-1/LD-2 database.

This URL has Read+Write access

dhess (author)
Fri Sep 19 14:00:41 -0700 2008
commit  67845b35c39ef4b5e469afeb4edb66756016234a
tree    27ae5b3aefad2e901cd21eaab20ed771ea291d02
parent  3a85a6bc047736fca6b6740ad84bd5f11c103158
lobbyists / Makefile
100644 28 lines (20 sloc) 0.537 kb
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
all: help
 
help:
@echo 'Choose one:'
@echo
@echo 'filings - create (clobber) the filings.db database.'
@echo 'test-parse - run parse_*() unit tests.'
@echo 'test-import - run import_*() unit tests.'
@echo 'test - run all unit tests.'
@echo 'help - this message.'
 
push:
git push origin
 
push-all: push
git push github
 
test-parse:
PYTHONPATH=.:$$PYTHONPATH python tests/test_parse.py
 
test-import:
PYTHONPATH=.:$$PYTHONPATH python tests/test_import.py
 
test: test-parse test-import
 
filings:
sqlite3 filings.db < filings.sql