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:
Jesse Gumm 2021-06-30 18:42:38 -05:00
parent a83ffd04db
commit 7852777534
7 changed files with 469 additions and 494 deletions

View file

@ -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