Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

Commit

Permalink
Merge 9f09782 into f97ebf4
Browse files Browse the repository at this point in the history
  • Loading branch information
dz0ny committed Nov 18, 2016
2 parents f97ebf4 + 9f09782 commit 261551a
Show file tree
Hide file tree
Showing 12 changed files with 2,800 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
composer.phar
/vendor/

.idea
bin
build
cover
# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
# composer.lock
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: php
sudo: false
matrix:
fast_finish: true
cache:
- vendor
- bin
php:
- 5.6
- 7.0
before_script:
- composer install
- mkdir -p build/logs
script:
- make lint
- make test
after_script:
- bin/coveralls -v
32 changes: 32 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
VERSION := 1.0.0
PLUGINSLUG := hidefooterlinks
MAINFILE := index.php
SRCPATH := $(shell pwd)/src
SVNUSER := niteoweb

SVNUSER := niteoweb

lint:
bin/phpcs --config-set show_warnings 0
bin/phpcs --config-set default_standard PSR2
bin/phpcs src/
bin/phpcs tests/

test:
bin/phpunit

release:
cp -ar src $(PLUGINSLUG)
zip -r $(PLUGINSLUG).zip $(PLUGINSLUG)
rm -rf $(PLUGINSLUG)
mv $(PLUGINSLUG).zip build/

deploy:
@rm -fr /tmp/$(PLUGINSLUG)/
svn co http://plugins.svn.wordpress.org/$(PLUGINSLUG)/ /tmp/$(PLUGINSLUG)
cp -ar $(SRCPATH)/* /tmp/$(PLUGINSLUG)/trunk/
cd /tmp/$(PLUGINSLUG)/trunk/; svn add * --force
cd /tmp/$(PLUGINSLUG)/trunk/; svn commit --username=$(SVNUSER) -m "Updating to $(VERSION)"
cd /tmp/$(PLUGINSLUG)/; svn copy trunk/ tags/$(VERSION)/
cd /tmp/$(PLUGINSLUG)/tags/$(VERSION)/; svn commit --username=$(SVNUSER) -m "Tagging version $(VERSION)"
rm -fr /tmp/$(PLUGINSLUG)/
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,27 @@
# Remove-Footer-Links
# Remove Footer Links

[![Build Status](https://travis-ci.org/niteoweb/footerlinks.svg?branch=master)](https://travis-ci.org/niteoweb/footerlinks)
[![Coverage Status](https://coveralls.io/repos/niteoweb/footerlinks/badge.svg)](https://coveralls.io/r/niteoweb/footerlinks)

## Info

Remove Footer Links will try to remove all the footer links and copyright info from your theme.

## Description

Remove Footer Links searches your theme for copyright info that you specified
and removes it from your footer. This plugin will create a child theme that you
have to activate in Themes menu.

More info on <a href="http://blog.easyblognetworks.com/2015/free-remove-footer-linkx-plugin/">EBN blog</a>.

## Plugin Features
* Feature 1
* Feature 2
* Feature 3

## Installation

1. Upload 'remove-footer-links' directory to the '/wp-content/plugins/' directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to **Tools** menu and then **Footer Links** to configure
43 changes: 43 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"require": {
"php": ">=5.3.0"
},
"require-dev": {
"phpunit/phpunit": "*",
"10up/wp_mock": "dev-master",
"antecedent/patchwork": "*",
"wordpress": "*",
"satooshi/php-coveralls": "dev-master",
"squizlabs/php_codesniffer": "2.*"
},
"extra": {
"installer-paths": {
"vendor/{$name}/": [
"wordpress"
]
}
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "package",
"package": {
"name": "wordpress",
"version": "4.6",
"type": "wordpress-plugin",
"dist": {
"url": "https://wordpress.org/wordpress-4.6.zip",
"type": "zip"
}
}
}
],

"minimum-stability": "stable",
"config": {
"bin-dir": "bin/"
}
}
Loading

0 comments on commit 261551a

Please sign in to comment.