Add gitignore and making info

This commit is contained in:
Jesse Gumm 2013-01-14 21:20:36 -06:00
parent 9ac0e40446
commit 4423d1f055
6 changed files with 27 additions and 1 deletions

1
.fed Normal file
View file

@ -0,0 +1 @@
editor=vim

5
.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
*~
*.beam
*.sw?
deps/
ebin/

7
Makefile Normal file
View file

@ -0,0 +1,7 @@
all: get-deps compile
get-deps:
./rebar get-deps
compile:
./rebar compile

BIN
rebar vendored Executable file

Binary file not shown.

13
rebar.config Normal file
View file

@ -0,0 +1,13 @@
% vim:ts=4 sw=4 et ft=erlang
{require_otp_vsn, "R13B04|R14|R15"}.
{cover_enabled, true}.
%{erl_opts, [debug_info,{i,"site/include"}]}.
{deps_dir, ["deps"]}.
{deps, [
{erlware_commons, ".*", {git, "git://github.com/erlware/erlware_commons.git", "HEAD"}},
{erlang_localtime, ".*", {git, "git://github.com/dmitryme/erlang_localtime.git", "HEAD"}}
]}.

View file

@ -32,7 +32,7 @@ parse(String) ->
to_date(String).
nparse(String) ->
parse_to_now(String).
to_now(String).
to_date(Unixtime) when is_integer(Unixtime) ->
unixtime_to_date(Unixtime);