Permalink
Browse files

Cleaning up some MAJOR errors that prevented espec from running.

  • Loading branch information...
TreyE committed Dec 10, 2008
1 parent f5f887f commit e6d79c08c9bc2a6e82c485e719c3b79ba8be5ef4
View
@@ -1,16 +1,8 @@
project : {
- name : espec
+ name : espec,
vsn : "0.1.0.1"
},
repositories : ["http://repo.erlware.org/pub"],
build_dir : _build,
-
-ignore_dirs : ["_",
- "."],
-
-ignore_apps : [],
-
-
-
View
@@ -26,7 +26,8 @@ CONFIGFILE=$CONFIGDIR/$REL_NAME-$REL_VSN.config
if [ ! -f $CONFIGFILE ]; then
echo " [{kernel, [{error_logger, {file, \"$LOGDIR/kernel.log\"}}]}, \
-{sasl,[{sasl_error_logger, {file, \"$LOGDIR/sasl.log\"}}]} ]." > $CONFIGFILE
+{sasl,[{sasl_error_logger, {file, \"$LOGDIR/sasl.log\"}}]},
+{sinan, [{prefix, \"$PREFIX\"}, {erts_version, \"$ERTS_VSN\"]} ]." > $CONFIGFILE
fi
View
@@ -1,6 +1,6 @@
%% This is the application resource file (.app file) for the espec,
%% application.
-{application, espec,
+{application, espec,
[{description, "ESpec Application"},
{vsn, "0.1.0.1"},
{modules, [
@@ -10,15 +10,14 @@
espec_runner,
espec_test_binding,
espec_verbs,
- sin_es_build,
+ sin_espec_build,
sin_espec
]},
{registered,[]},
{applications, [kernel, stdlib]},
{versioned_dependencies, [
{etask, "0.5.0", gte},
- {eunit, "2.0", gte},
- {sinan, "0.10.0.10", gte}
+ {sinan, "0.10.0.14", gte}
]},
{start_phases, []}]}.
View
@@ -4,6 +4,6 @@
start() ->
sinan:start(),
- sin_es_build:start(),
+ sin_espec_build:start(),
sin_espec:start(),
espec_runner:run().
@@ -13,7 +13,7 @@
%% API
%%====================================================================
%%--------------------------------------------------------------------
-%% Function:
+%% Function:
%% Description:
%%--------------------------------------------------------------------
run() ->
@@ -93,7 +93,7 @@ espec(BuildRef) ->
"'enabled' or remove it.");
_ ->
%% GL = sin_group_leader:capture_start(BuildRef, ?TASK),
- Apps = lists:map(fun({App, _Vsn, _Deps}) ->
+ Apps = lists:map(fun({App, _Vsn, _Deps, _}) ->
atom_to_list(App)
end, sin_build_config:get_value(BuildRef,
"project.apps")),
@@ -118,7 +118,7 @@ test_apps(BuildRef, [AppName | T]) ->
io:format("Testing ~s~n", [AppName]),
AppModules = sin_build_config:get_value(BuildRef,
"apps." ++ AppName ++ ".modules"),
- AppDir = sin_build_config:get_value(BuildRef, "apps." ++ AppName
+ AppDir = sin_build_config:get_value(BuildRef, "apps." ++ AppName
++ ".basedir"),
TestDir = filename:join([AppDir, "test"]),
TestModules = gather_test_modules(TestDir),
Oops, something went wrong.

0 comments on commit e6d79c0

Please sign in to comment.