Reworked so that the tz_index is built as a module, rather than a raw dict, so it passes dialyzer
This commit is contained in:
parent
a83ffd04db
commit
7852777534
7 changed files with 469 additions and 494 deletions
8
Makefile
8
Makefile
|
@ -1,9 +1,11 @@
|
|||
all: include/tz_index.hrl
|
||||
all: src/tz_index.erl
|
||||
./rebar3 compile
|
||||
|
||||
check:
|
||||
./rebar3 eunit
|
||||
|
||||
include/tz_index.hrl: src/ibuild.erl include/tz_database.hrl
|
||||
cd include && ln -s ../src/ibuild.erl && escript ibuild.erl; EV=$$?; rm ibuild.erl; exit $$EV
|
||||
src/tz_index.erl: include/tz_database.hrl
|
||||
escript ibuild.escript
|
||||
|
||||
dialyzer:
|
||||
./rebar3 dialyzer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue