Build and inspection management
Go to file
2018-03-30 12:29:08 +02:00
Config Draft phpstan config 2018-03-14 19:02:43 +01:00
Helper Remove subtree scripts 2018-01-05 21:52:55 +01:00
Hooks Update syntax.sh 2018-01-31 19:11:59 +01:00
Inspection Fix line ending 2018-03-30 12:29:08 +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
.gitignore Exclude build generation files 2017-09-30 11:14:02 +02:00
buildProject.php Reduce potential existence bugs 2018-03-30 12:17:55 +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
LICENSE.txt Adding license 2015-12-22 18:16:01 +01:00
README.md Update README.md 2018-02-23 13:29:12 +01:00
setup.sh Restructure 2018-03-30 11:39:29 +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
  • 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.