Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added simple build process with a test

  • Loading branch information...
commit 13e1e5efbf065ce00ad380aaded7f28da33824c4 1 parent 1438364
@giorgiosironi authored
View
0  src/01_helloworld.erl → 01_helloworld.erl
File renamed without changes
View
0  src/02_headtail.erl → 02_headtail.erl
File renamed without changes
View
1  Emakefile
@@ -0,0 +1 @@
+{['src/*'], [{outdir, "bin/"}]}.
View
BIN  bin/numbers_test_03.beam
Binary file not shown
View
4 build.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+erl -make
+cd bin
+erl -noshell -eval 'eunit:test([{dir, "."}], [verbose])' -s init stop
View
6 src/03_numbers_test.erl
@@ -1,6 +0,0 @@
--module(numbers_test)
--include_lib("eunit/include/eunit.hrl")
-
-simple_test() ->
- ?assert(length([1,2,3]) =:= 3).
-
View
6 src/numbers_test_03.erl
@@ -0,0 +1,6 @@
+-module(numbers_test_03).
+-include_lib("eunit/include/eunit.hrl").
+
+simple_test() ->
+ ?_assert(1 == 1).
+
Please sign in to comment.
Something went wrong with that request. Please try again.