Add badges to ReadMe [skip ci]
This commit is contained in:
parent
f60c6ec2ff
commit
36a65482e2
@ -1,3 +1,8 @@
|
||||
[](https://travis-ci.org/stklcode/statify-blacklist)
|
||||
[](https://sonarcloud.io/dashboard?id=de.stklcode.web.wordpress.plugins%3Astatify-blacklist)
|
||||
[](https://packagist.org/packages/pluginkollektiv/statify)
|
||||
[](https://github.com/stklcode/statify-blacklist/blob/master/LICENSE.txt)
|
||||
|
||||
# Statify Blacklist #
|
||||
* Contributors: Stefan Kalscheuer
|
||||
* Requires at least: 4.7
|
||||
|
@ -139,8 +139,14 @@ class RoboFile extends Tasks {
|
||||
'views' => $this->target_dir . '/' . $this->final_name . '/views',
|
||||
] )->run();
|
||||
$this->_copy( 'statify-blacklist.php', $this->target_dir . '/' . $this->final_name . '/statify-blacklist.php' );
|
||||
$this->_copy( 'README.md', $this->target_dir . '/' . $this->final_name . '/README.md' );
|
||||
$this->_copy( 'LICENSE.md', $this->target_dir . '/' . $this->final_name . '/LICENSE.md' );
|
||||
$this->_copy( 'README.md', $this->target_dir . '/' . $this->final_name . '/README.md' );
|
||||
|
||||
// Remove content before title (e.g. badges) from README file.
|
||||
$this->taskReplaceInFile( $this->target_dir . '/' . $this->final_name . '/README.md' )
|
||||
->regex( '/^[^\\#]*/' )
|
||||
->to( '' )
|
||||
->run();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user