mikey179 / xp-runners

Version-independent runners for the XP Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XP Runners

Build Status on TravisCI BSD Licence

The XP runners are bash scripts (on Unix-like systems) or C# programs (Windows) that are used to start XP programs.

Supported platforms

  • Un*x
  • BSD
  • Cygwin
  • Windows (that is non-Cygwin)

Compilation

Runners need to be compiled for the respective target platform. On Unix, BSD, Cygwin platform the compilation step consists of solely a C preprocessor invocation. For Windows, C# files have to be compiled. You need the .NET Runtime 4.0 installed on your system.

See make all output for the compilation targets.

Tests

Run make test [PHP=/path/to/php/binary] to test runners and the shared code.

Installation

This is the preferrred way of installing the runners:

$ cd ~/bin
$ wget 'https://github.com/xp-framework/xp-runners/releases/download/v5.6.1/setup' -O - | php

From this directory

For Unix, BSD, Cygwin install targets exist that do install the final scripts into /usr/bin (or a given different directory).

Debian

We recommend creating Debian .deb files using the checkinstall utility:

% xp-runners$ sudo checkinstall \
  --type=debian \
  --pkgname=xp-runners \
  --pkgversion=5.6.1 \
  --pkggroup=devel \
  --pkglicense=BSD \
  --pkgarch all -y \
  --requires=php5-cli,realpath \
  --backup=no \
  --install=no \
  --nodoc \
  --reset-uids=yes \
  make unix.install

About

Version-independent runners for the XP Framework


Languages

Language:PHP 54.5%Language:C# 40.4%Language:Makefile 3.9%Language:Shell 0.6%Language:Batchfile 0.3%Language:C 0.2%