Permalink
Browse files

Merge pull request #10 from RobLally/master

Addition of an Erlang Starting Point
  • Loading branch information...
2 parents cec65a4 + 5bdc3ca commit df6d3adf8fb3fd863fa4b1b3a0178042368ab224 @mowat27 mowat27 committed Dec 2, 2011
@@ -0,0 +1,5 @@
+ebin/
+
+.eunit
+
+.#*
@@ -0,0 +1,10 @@
+A template project for Erlang using EUnit and Rebar.
+
+You will need to have a standard installation of Erlang installed.
+
+A version of Rebar that runs on OSX, and should also work on Linux is included in the root of the erlang project.
+
+To run the tests, cd to the starting_points/erlang directory (the same directory that contains this file), and run
+
+ ./rebar eunit
+
Binary file not shown.
@@ -0,0 +1,12 @@
+{application, game_of_life,
+ [
+ {description, ""},
+ {vsn, "1"},
+ {registered, []},
+ {applications, [
+ kernel,
+ stdlib
+ ]},
+ {mod, {game_of_life_app, []}},
+ {env, []}
+ ]}.
@@ -0,0 +1,6 @@
+-module(game_of_life).
+
+-compile(export_all).
+
+something() ->
+ 1.
@@ -0,0 +1,9 @@
+-module(game_of_life_test).
+
+-compile(export_all).
+-import(game_of_life, [something/0]).
+
+ -include_lib("eunit/include/eunit.hrl").
+
+something_test() ->
+ ?assert(999 =:= something()).

0 comments on commit df6d3ad

Please sign in to comment.