From ed2b38d6fb29f4df7eda0fe1ec3d8fd9aee49fb6 Mon Sep 17 00:00:00 2001 From: Siri Hansen Date: Fri, 25 Mar 2011 12:32:02 +0100 Subject: Change default behaviour to not check src code when creating release Add new option src_tests to systools:make_script and systools:make_tar. The old option no_module_tests is now ignored as this is the default behaviour. --- lib/sasl/doc/src/systools.xml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'lib/sasl/doc/src') diff --git a/lib/sasl/doc/src/systools.xml b/lib/sasl/doc/src/systools.xml index e28cd25f27..883c9c372b 100644 --- a/lib/sasl/doc/src/systools.xml +++ b/lib/sasl/doc/src/systools.xml @@ -130,7 +130,7 @@ Generate a boot script .script/.boot. Name = string() - Opt = no_module_tests | {path,[Dir]} | local | {variables,[Var]} | exref | {exref,[App]}] | silent | {outdir,Dir} + Opt = src_tests | {path,[Dir]} | local | {variables,[Var]} | exref | {exref,[App]}] | silent | {outdir,Dir}  Dir = string()  Var = {VarName,Prefix}   VarName = Prefix = string() @@ -174,15 +174,13 @@ the applications.

-

There should no duplicated modules, that is, modules with +

There should be no duplicated modules, that is, modules with the same name but belonging to different applications.

-

A warning is issued if the source code for a module is - missing or newer than the object code.

- - If the no_module_tests option is specified, this - check is omitted.

+

If the src_tests option is specified, a + warning is issued if the source code for a module is + missing or newer than the object code.

The applications are sorted according to the dependencies @@ -242,7 +240,7 @@ Create a release package. Name = string() - Opt = {dirs,[IncDir]} | {path,[Dir]} | {variables,[Var]} | {var_tar,VarTar} | {erts,Dir} | no_module_tests | exref | {exref,[App]} | silent | {outdir,Dir} + Opt = {dirs,[IncDir]} | {path,[Dir]} | {variables,[Var]} | {var_tar,VarTar} | {erts,Dir} | src_tests | exref | {exref,[App]} | silent | {outdir,Dir}  Dir = string()  IncDir = src | include | atom()  Var = {VarName,PreFix} @@ -330,7 +328,7 @@ myapp-1/ebin/myapp.app system {erts,Dir} is copied to erts-ErtsVsn/bin.

All checks performed with the make_script function are performed before the release package is created. The - no_module_tests and exref options are also + src_tests and exref options are also valid here.

The return value and the handling of errors and warnings are the same as described for make_script above.

-- cgit v1.2.3