5 Commits

Author SHA1 Message Date
5bfb5e64e2 Use mirrored URL for tzdata as data.iana.org apparently blocks requests 2025-12-31 11:52:25 +03:00
Manuel Rubio
0fc896df64 0.2.3 improve Makefile for building better for Elixir and Erlang 2022-06-26 03:42:10 +02:00
Manuel Rubio
3bfd5c35b7 0.2.2 - minor fix to retrieve tzdata 2019-10-21 12:20:02 +02:00
Manuel Rubio
498c0c566b Merge pull request #1 from danielribes/master
Updated URL with HTTPS and to avoid 302
2019-10-21 08:09:36 +02:00
Daniel Ribes
bbcef9a45b Updated URL with HTTPS and to avoid 302 2019-10-21 00:35:13 +02:00
3 changed files with 13 additions and 4 deletions

View File

@@ -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: 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 mkdir -p priv/tzdata
tar -xvzf tzdata-latest.tar.gz -C priv/tzdata tar -xvzf tzdata-latest.tar.gz -C priv/tzdata
rm tzdata-latest.tar.gz rm tzdata-latest.tar.gz
erl -pa ebin -s ezic_generator generate -s erlang halt -noinput -noshell erl -pa ${EBIN} -s ezic_generator generate -s erlang halt -noinput -noshell
erlc -o ebin zones/*.erl erlc -o ${EBIN} zones/*.erl

View File

@@ -76,6 +76,8 @@ A big thanks to ezic's contributors:
* [jrgdiz](https://github.com/jrgdiz) * [jrgdiz](https://github.com/jrgdiz)
* [arkdro](https://github.com/arkdro) * [arkdro](https://github.com/arkdro)
* [amasyura](https://github.com/amasyura) * [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). 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).

View File

@@ -1,6 +1,6 @@
{application,ezic, {application,ezic,
[{registered,[]}, [{registered,[]},
{vsn,"0.2.1"}, {vsn,"0.2.3"},
{description,"A set of Erlang utilities for the Olson timezone database files"}, {description,"A set of Erlang utilities for the Olson timezone database files"},
{applications,[kernel,stdlib]}, {applications,[kernel,stdlib]},
{env,[{tzdata_dir,"priv/tzdata"}]}, {env,[{tzdata_dir,"priv/tzdata"}]},