Skip to content

Instantly share code, notes, and snippets.

@nickl-
Created April 22, 2013 05:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickl-/5432541 to your computer and use it in GitHub Desktop.
Save nickl-/5432541 to your computer and use it in GitHub Desktop.
New look Respect/Foundation as a result of menu rendering refactor.
# Respect/Foundation: 0.1.13
General Utilities
=================
project-info:.............Shows project configuration
project-init:.............Initialize current folder and create boilerplate project structure
gitignore:................(Re)create .gitignore file
Source Cleaning
===============
clean-all-whitespace:.....All in one does tabs2spaces, unix-line-ends and trailing_spaces
clean-tabs2spaces:........Turns tabs into 4 spaces properly handling mixed tab/spaces
clean-unix-line-ends:.....Fixes unix line endings
clean-trailing_spaces:....Removes trailing whitespace
clean-single-blank-lines:.Removes multiple blank lines adds blank line at end of file
clean-remove-eof-php-tag:.Removes php tag at the end of a file if exists
clean-up-makefile-baks:...Delete all Makefile.bak files
Metrics and Standards
=====================
cs-fixer:.................Run PHP Coding Standards Fixer to ensure your cs-style is correct
codesniff:................Run PHP Code Sniffer to generate a report of code analysis
phpcpd:...................Run PHP Copy Paste detector
phpdcd:...................Run PHP Dead Code detector
phploc:...................Run PHP Lines Of Code analyzer for project code statistics
phpdoc:...................Run PhpDocumentor2 to generate the project API documentation
$ make menu-dev
# Respect/Foundation: 0.1.13
Development Info
================
Parameters: package=vendor/package (required)
info-git-extras:..........Show information about your installed git extras
install-git-extras:.......Install git extras
info-cs-fixer:............Show information about your installed PHP Coding Standards Fixer
install-cs-fixer:.........Install PHP Coding Standards Fixer
info-codesniff:...........Show information about your installed PHP_CodeSniffer
install-codesniff:........Install PHP_CodeSniffer
install-psr-sniff:........Install Code Sniffer PSR sniffs to allow for PSR 0-3 compliancy checks
info-phpunit:.............Show information about your installed PHPUnit
install-phpunit:..........Install PHPUnit
info-phpcpd:..............Show information about your installed PHP Copy Paste detector
install-phpcpd:...........Install PHPcpd
info-phpdcd:..............Show information about your installed PHP Dead Code detector
install-phpdcd:...........Install PHPdcd
info-phploc:..............Show information about your installed PHP LOC analyzer
install-phploc:...........Install PHPloc
info-skelgen:.............Show information about your installed PHPUnit Skeleton Generator
install-skelgen:..........Install PHPUnit Skeleton Generator
info-test-helpers:........Show information about your installed PHPUnit Test Helpers extension
install-test-helpers:.....Install PHPUnit Test Helpers extension
info-phpdoc:..............Show information about your installed PhpDocumentor2
install-phpdoc:...........Install PhpDocumentor2
info-phd:.................Show information about your installed PhD
install-phd:..............Install PhD is a PHP based Docbook renderer to build the PHP.net documentation
info-phpsh:...............Show information about your installed PHP Shell (phpsh)
install-phpsh:............Install PHP Shell (phpsh) - Requires Python
info-phantomjs:...........Show information about your installed phantomjs headless webkit browser
install-phantomjs:........Install phantomjs - headless webkit browser
install-travis-lint:......Install travis-lint configuration checker - Requires ruby gems
install-uri-template:.....Install uri_template a php extension. Might require sudo.
$ make menu-deploy
# Respect/Foundation: 0.1.13
Deployment
==========
Parameters: package=vendor/package (required)
patch:....................Increases the patch version of the project (X.X.++)
minor:....................Increases the minor version of the project (X.++.0)
major:....................Increases the major version of the project (++.0.0)
alpha:....................Changes the stability of the current version to alpha
beta:.....................Changes the stability of the current version to beta
stable:...................Changes the stability of the current version to stable
tag:......................Makes a git tag of the current project version/stability
pear-push:................Pushes the latest PEAR package. Custom pear_repo='' and pear_package='' available.
release:..................Runs tests, coverage reports, tag the build and pushes to package repositories
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment