Skip to content

genesis-php/example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genesis example

This is an example project for Genesis build tool

Genesis is lightweight, smart and easy to use CLI tool, for building (mainly) PHP applications. Usage is similar to Phing, but Genesis is much easier. For configuration is used an .neon file, which is very similar to YAML.

This example is all about directories build and build-simple. All other files and directories are only samples.

Getting started

Look at the example which gives you quick introduction:

  1. Clone this repository or run:
    composer create-project genesis-php/example

  2. Initialize build:
    cd example && vendor/bin/genesis self-init directory 'build' was created, with example files

  3. Run:
    build/build default = help - list of available tasks

    build/build mytask run some task

    or example complex build:

    build-example/build init run predefined simple build from directory 'build-example'

Create you own build

Genesis documentation