A conventional project tool for PHP and git.
PHP Makefile JavaScript
Latest commit 6d136c0 Jan 5, 2015 @henriquemoody henriquemoody Merge pull request #137 from Respect/revert-136-include
Revert "Include other makefiles if they exist."
Permalink
Failed to load latest commit information.
bin Phantomjs: Inject script into page. Jan 19, 2013
src Updated bootstrap as per changes to composer. Jul 3, 2013
test git.io stopped working May 16, 2014
.gitignore Revert "Include other makefiles if they exist." Jan 5, 2015
.travis.yml No wait Feb 16, 2013
LICENSE Fix #126 Add License Jan 19, 2013
Makefile Revert "Include other makefiles if they exist." Jan 5, 2015
README.md Add option to use different Makefile. Jul 11, 2014
composer.json Update package descriptors Feb 14, 2013
package.ini Update package descriptors Feb 14, 2013
package.xml

README.md

Respect\Foundation

Build Status

A conventional project tool for PHP and git.

This is a work in progress! Several features are missing. Get in touch...

Works out of the box with:

  • PEAR
  • Onion
  • Composer
  • Pirum
  • PHPUnit
  • New and pre-existing projects

Installation

Make sure you have curl, git PHP and PEAR installed. On your project folder, run:

curl -LO https://raw.githubusercontent.com/Respect/Foundation/master/Makefile && make foundation

This command line will install and/or update your Foundation installation.

Usage

Type make help to see all available targets.

To see what Foundation has discovered about your project, run make project-info.

You can modify the package.ini file only. Changes in that file will propagate to other package files when you run make package.

Using your own Makefile

If you want to tweak your own Makefile and use it instead of the defuault one:

export FOUNDATION_URL=http://my.domain.com/raw/Makefile/url; make foundation

This will only use a different Makefile, Foundation has a PHP library included to discover some information about the project itself. For that, this repository is cloned, but the URL is also exposed through the FOUNDATION_REPO environment variable which can be overriden as shown above.