Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5bfb5e64e2 | |||
|
|
0fc896df64 | ||
|
|
3bfd5c35b7 | ||
|
|
498c0c566b | ||
|
|
bbcef9a45b |
13
Makefile
13
Makefile
@@ -1,8 +1,15 @@
|
||||
ifdef REBAR_BARE_COMPILER_OUTPUT_DIR
|
||||
EBIN = ${REBAR_BARE_COMPILER_OUTPUT_DIR}/ebin
|
||||
else ifdef REBAR_BUILD_DIR
|
||||
EBIN = ${REBAR_BUILD_DIR}/lib/ezic/ebin
|
||||
else
|
||||
EBIN = "ebin"
|
||||
endif
|
||||
|
||||
zones:
|
||||
wget "http://www.iana.org/time-zones/repository/tzdata-latest.tar.gz"
|
||||
wget "https://m1.xs7.ru/time-zones/tzdata-latest.tar.gz"
|
||||
mkdir -p priv/tzdata
|
||||
tar -xvzf tzdata-latest.tar.gz -C priv/tzdata
|
||||
rm tzdata-latest.tar.gz
|
||||
erl -pa ebin -s ezic_generator generate -s erlang halt -noinput -noshell
|
||||
erlc -o ebin zones/*.erl
|
||||
erl -pa ${EBIN} -s ezic_generator generate -s erlang halt -noinput -noshell
|
||||
erlc -o ${EBIN} zones/*.erl
|
||||
|
||||
@@ -76,6 +76,8 @@ A big thanks to ezic's contributors:
|
||||
* [jrgdiz](https://github.com/jrgdiz)
|
||||
* [arkdro](https://github.com/arkdro)
|
||||
* [amasyura](https://github.com/amasyura)
|
||||
* [manuel-rubio](https://github.com/manuel-rubio)
|
||||
* [danielribes](https://github.com/danielribes)
|
||||
|
||||
The decision to release this into the public domain was inspired by the (anti-) license of the [SQLite project](http://www.sqlite.org/copyright.html).
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{application,ezic,
|
||||
[{registered,[]},
|
||||
{vsn,"0.2.1"},
|
||||
{vsn,"0.2.3"},
|
||||
{description,"A set of Erlang utilities for the Olson timezone database files"},
|
||||
{applications,[kernel,stdlib]},
|
||||
{env,[{tzdata_dir,"priv/tzdata"}]},
|
||||
|
||||
Reference in New Issue
Block a user