Build and inspection management
Go to file
2019-08-25 21:46:06 +02:00
Config change php version requirement 2019-08-15 20:44:44 +02:00
Helper Fix permissions 2019-03-16 18:59:44 +00:00
Hooks fix fixing cmd 2019-06-15 23:59:39 +02:00
Inspection Remove unavailable tools 2019-05-17 23:01:52 +02:00
Js Fix permissions 2019-03-16 18:59:44 +00:00
Tools Fix permissions 2019-03-16 18:59:44 +00:00
.gitattributes Fix permissions 2019-03-16 18:59:44 +00:00
.gitignore ignore cache files 2019-07-13 20:26:34 +02:00
buildProject.php Merge branch 'develop' of https://github.com/Orange-Management/Build into develop 2019-03-16 20:57:11 +01:00
buildProject.sh Add documentation generation 2019-04-15 21:14:07 +02:00
config.sh Fix build 2019-03-16 23:30:37 +01:00
gdfSetup.php fix after change to php 7.4 2019-08-17 14:14:41 +02:00
info.php Fix permissions 2019-03-16 18:59:44 +00:00
install.sh Add php cs fixer proposal command 2019-04-27 12:06:03 +02:00
LICENSE.txt Fix permissions 2019-03-16 18:59:44 +00:00
minimumSetup.php create a minium setup script 2019-05-22 21:59:53 +02:00
packages.txt Fix permissions 2019-03-16 18:59:44 +00:00
README.md Fix permissions 2019-03-16 18:59:44 +00:00
sdSetup.php fix after change to php 7.4 2019-08-17 14:14:41 +02:00
setup.sh update phpstan for php7.4 2019-08-25 21:46:06 +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.