From f87e3726a424a9d575c1a43d71236c1d23e446a7 Mon Sep 17 00:00:00 2001 From: Enrico Horn Date: Thu, 22 Jul 2021 23:01:30 +0200 Subject: [PATCH] Update build information in the README --- README.md | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 30f17dbd..76508025 100644 --- a/README.md +++ b/README.md @@ -858,37 +858,30 @@ An example skelton maven pom file for a skeleton project is in

Building the jars

-An ant file is included in the root directory which builds the libraries by default. +Build the jars with maven. +
+	mvn clean verify
+

-Other targets exist for creating distribution file an measuring code coverage of unit tests.

Unit tests

-The main luaj JUnit tests are organized into a JUnit 3 suite: -

-	test/junit/org/luaj/vm2/AllTests.lua
-
+All unit tests are executed during the build.

-Unit test scripts can be found in these locations +Test scripts can be found in these locations

-	test/lua/*.lua
-	test/lua/errors/*.lua
-	test/lua/perf/*.lua
-	test/lua/luaj3.0.2-tests.zip
+	luaj-test/src/test/resources
 
+Executon is included in the build of luaj-test.

Code coverage

-A build script for running unit tests and producing code coverage statistics is in -

-	build-coverage.xml
-
- -It relies on the cobertura code coverage library. +The maven build creates the coverage report in the luaj-test/target/site folder +during the verify phase.

8 - Downloads