Build and inspection management
Go to file
2017-07-26 20:05:10 +02:00
Configs Added missing subdirectories 2017-03-11 14:30:01 +01:00
Helper Added missing subdirectories 2017-03-11 14:30:01 +01:00
Inspection Add image inspection 2017-07-18 20:02:38 +02:00
Tools Create working js builder draft 2017-07-26 20:05:10 +02:00
.gitignore Added missing subdirectories 2017-03-11 14:30:01 +01:00
build_dev.sh Restructure build system 2017-03-11 14:12:38 +01:00
build_public.sh Cleaning up build. New repository structure still missing. 2015-12-22 19:02:50 +01:00
config.sh Added missing subdirectories 2017-03-11 14:30:01 +01:00
inspection.sh Restructure build system 2017-03-11 14:12:38 +01:00
LICENSE.txt Adding license 2015-12-22 18:16:01 +01:00
README.md Added dependencies and symlink 2017-03-11 16:23:38 +01:00
setup.sh Optimize setup 2017-03-13 15:26:23 +01: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 setup.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

Usage

  • Run build_dev.sh
  • Run build_public.sh
  • Run inspection.sh

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.