Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperthunk committed Aug 23, 2010
0 parents commit 3a57ddf
Show file tree
Hide file tree
Showing 6 changed files with 1,087 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,19 @@
*.kpf
*.pyc
*.beam
*.o
*.so
build/*
^build$
Emakefile
coverage
coverage/*
erl_crash.dump
priv/
test/logs/
ebin/*.beam
logs/*
ebin/libtest.erl
ebin/libtest/collector.erl
ebin/libtest/gen_server2.erl
ebin/libtest/matchers.erl
1 change: 1 addition & 0 deletions History.md
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1 @@

6 changes: 6 additions & 0 deletions README.md
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,6 @@
## gen_server2 - a copy of LSHIFT's gen_server modifications

_gen_server2_ is a modified version of OTP's gen_server behaviour.
This repository is hosted so people don't have to keep copying the
gen_server2 source file into their projects, which is pointless unless
you're planning on making modifications of your own.
8 changes: 8 additions & 0 deletions ebin/gen_server2.app
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,8 @@
{application,
gen_server2,
[{description,"gen_server2 OTP behaviour - provided as an OTP library"},
{vsn,"1.0.0"},
{modules,[gen_server2]},
{registered,[]},
{applications,[kernel,stdlib]}
]}.
27 changes: 27 additions & 0 deletions rebar.config
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,27 @@
%% -----------------------------------------------------------------------------
%%
%% Lingo.
%%
%% Copyright (c) 2008-2010 Tim Watson (watson.timothy@gmail.com)
%%
%% Permission is hereby granted, free of charge, to any person obtaining a copy
%% of this software and associated documentation files (the "Software"), to deal
%% in the Software without restriction, including without limitation the rights
%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
%% copies of the Software, and to permit persons to whom the Software is
%% furnished to do so, subject to the following conditions:
%%
%% The above copyright notice and this permission notice shall be included in
%% all copies or substantial portions of the Software.
%%
%% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
%% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
%% THE SOFTWARE.
%% -----------------------------------------------------------------------------

{erl_opts, [fail_on_warning]}.
{deps, []}.
Loading

0 comments on commit 3a57ddf

Please sign in to comment.