Build and inspection management
Go to file
2018-10-10 23:39:28 +02:00
Config Ignore paths for global tests 2018-09-23 14:46:38 +02:00
Helper Use root namespace for functions 2018-05-30 13:33:39 +02:00
Hooks Fix whitespace 2018-09-30 00:30:36 +02:00
Inspection Final hook fixes 2018-09-22 15:09:01 +02:00
Js Fix paths 2018-03-30 09:06:44 +02:00
Tools Fix build order 2017-07-28 23:37:47 +02:00
.gitattributes Add attributes 2018-03-30 12:30:01 +02:00
.gitignore Exclude build generation files 2017-09-30 11:14:02 +02:00
buildProject.php Use root namespace for functions 2018-05-30 13:33:39 +02:00
buildProject.sh Fix paths 2018-03-30 09:06:44 +02:00
config.sh Fix paths 2018-03-04 18:21:27 +01:00
install.sh Update isntall with pgsql 2018-10-10 23:39:28 +02:00
LICENSE.txt Adding license 2015-12-22 18:16:01 +01:00
README.md Update README.md 2018-07-24 10:41:50 +02:00
setup.sh Fix overwrite existing files 2018-07-18 18:21:23 +02:00

General

The Orange Management build system is a collection of scripts to create builds. Builds that can get created are:

  • Public release builds
  • Public developer release builds

On top of the release builds the build system can also perform automated code inspections. This allows to run all tests and inspections without interaction and generates a report for developers at the end.

The last feature is the backend and documentation generation based on the DocBlock documentation.

Setup

  • Clone the repository somewhere save
  • Check out the install.sh file and/or run it
  • Modify the config.sh file to your needs
  • Run buildProject.sh

Dependencies

The build system will take care of most requirements, the following tools and commands have to be available on the system.

  • npm
  • git
  • wget
  • curl
  • grep
  • xargs
  • sed
  • php
  • php-dom
  • php-xdebug

Inspections

The following inspections are performed:

  • Linting
  • Security
  • Unit tests
  • Metrics (loc, dependencies)
  • Code quality (crap, code coverage, code style)

In order to perform these inspections the build system relies on third party tools as well as custom scripts.