diff --git a/Makefile b/Makefile index b3cb81b..60ce194 100644 --- a/Makefile +++ b/Makefile @@ -1,28 +1,28 @@ -.PHONY: qa lint cs csf phpstan tests coverage +.PHONY: install qa cs csf phpstan tests coverage-clover coverage-html -all: - @$(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null | awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' | sort | egrep -v -e '^[^[:alnum:]]' -e '^$@$$' | xargs +install: + composer update -vendor: composer.json composer.lock - composer install +qa: phpstan cs -qa: lint phpstan cs - -lint: vendor - vendor/bin/linter src tests - -cs: vendor +cs: +ifdef GITHUB_ACTION + vendor/bin/codesniffer -q --report=checkstyle src tests | cs2pr +else vendor/bin/codesniffer src tests +endif -csf: vendor +csf: vendor/bin/codefixer src tests -phpstan: vendor +phpstan: vendor/bin/phpstan analyse -l max -c phpstan.neon src -tests: vendor +tests: vendor/bin/tester -s -p php --colors 1 -C tests/cases -coverage: vendor +coverage-clover: vendor/bin/tester -s -p phpdbg --colors 1 -C --coverage ./coverage.xml --coverage-src ./src tests/cases +coverage-html: + vendor/bin/tester -s -p phpdbg --colors 1 -C --coverage ./coverage.html --coverage-src ./src tests/cases diff --git a/README.md b/README.md index 1203133..1e7c7e9 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,35 @@ -# Latte > Parsedown/Markdown - -:tractor: Markdown parser to Nette Framework. - ------ - -[![Build Status](https://img.shields.io/travis/contributte/latte-parsedown-extra.svg?style=flat-square)](https://travis-ci.org/contributte/latte-parsedown-extra) -[![Code coverage](https://img.shields.io/coveralls/contributte/latte-parsedown-extra.svg?style=flat-square)](https://coveralls.io/r/contributte/latte-parsedown-extra) -[![Licence](https://img.shields.io/packagist/l/contributte/latte-parsedown-extra.svg?style=flat-square)](https://packagist.org/packages/contributte/latte-parsedown-extra) -[![Downloads this Month](https://img.shields.io/packagist/dm/contributte/latte-parsedown-extra.svg?style=flat-square)](https://packagist.org/packages/contributte/latte-parsedown-extra) -[![Downloads total](https://img.shields.io/packagist/dt/contributte/latte-parsedown-extra.svg?style=flat-square)](https://packagist.org/packages/contributte/latte-parsedown-extra) -[![Latest stable](https://img.shields.io/packagist/v/contributte/latte-parsedown-extra.svg?style=flat-square)](https://packagist.org/packages/contributte/latte-parsedown-extra) -[![PHPStan](https://img.shields.io/badge/PHPStan-enabled-brightgreen.svg?style=flat)](https://github.com/phpstan/phpstan) - -## Discussion / Help - -[![Join the chat](https://img.shields.io/gitter/room/contributte/contributte.svg?style=flat-square)](http://bit.ly/ctteg) - -## Install +![](https://heatbadger.now.sh/github/readme/contributte/latte-parsedown-extra/) + +
+ + ++ Website 🚀 contributte.org | Contact 👨🏻💻 f3l1x.io | Twitter 🐦 @contributte +
+ +## Usage + +To install latest version of `contributte/latte-parsedown-extra` use [Composer](https://getcomposer.com). ``` composer require contributte/latte-parsedown-extra ``` +## Documentation + +For details on how to use this package, check out our [documentation](.docs). + ## Versions | State | Version | Branch | PHP | @@ -31,34 +39,18 @@ composer require contributte/latte-parsedown-extra | stable | `^1.4.0` | `master` | `>= 7.1` | | stable | `^1.2.0` | `master` | `>= 5.6` | -## Overview +## Development -- [Usage - how to install](https://github.com/contributte/latte-parsedown-extra/blob/master/.docs/README.md#usage) -- [Extension - how to configure](https://github.com/contributte/latte-parsedown-extra/blob/master/.docs/README.md#configuration) +See [how to contribute](https://contributte.org) to this package. This package is currently maintained by these authors. -## Maintainers + + + + + + -- - - - - Milan Felix Šulc - | -- - - - - Marek Bartoš - | -