Skip to content

Commit

Permalink
Merge pull request #281 from dshanske/grunt
Browse files Browse the repository at this point in the history
Remove Grunt as a dependency for the build
  • Loading branch information
dshanske authored Jan 3, 2025
2 parents 6ef6518 + 96cfef9 commit bc89fe4
Show file tree
Hide file tree
Showing 10 changed files with 306 additions and 390 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=10s --health-retries=10
strategy:
matrix:
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
php-versions: ['7.4', '8.0', '8.1', '8.2', 8.3]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
42 changes: 0 additions & 42 deletions Gruntfile.js

This file was deleted.

15 changes: 12 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@
"yoast/phpunit-polyfills": "^3.0",
"mf2/mf2": "^0.5.0",
"sirbrillig/phpcs-variable-analysis": "^2.11",
"wp-cli/wp-cli": "^2.11"
"wp-cli/wp-cli": "^2.11",
"wp-cli/i18n-command": "^2.6",
"wpreadme2markdown/wp2md": "^4.1",
"wp-cli/wp-cli-bundle": "^2.11"
},
"scripts": {
"install-codestandards": [
Expand All @@ -48,7 +51,6 @@
],
"setup-local-tests": "bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 latest",
"phpunit": "./vendor/bin/phpunit",
"plugin-check": "./vendor/bin/wp plugin check simple-location --exclude-checks=file_type --exclude-directories='./bin','./.github'",
"test": [
"composer update",
"bin/install-wp-tests.sh wordpress wordpress wordpress",
Expand All @@ -62,8 +64,15 @@
"./vendor/bin/phpcs -n",
"@phpcpd"
],
"release": [
"@phpcbf",
"@make-pot",
"@wp2md"
],
"phpcs": "./vendor/bin/phpcs",
"phpcbf": "./vendor/bin/phpcbf",
"phpcpd": "./vendor/bin/phpcpd --fuzzy --exclude .git --exclude vendor --exclude tests --exclude node_modules ."
"phpcpd": "./vendor/bin/phpcpd --fuzzy --exclude .git --exclude vendor --exclude tests --exclude node_modules .",
"make-pot": "./vendor/bin/wp i18n make-pot . languages/indieauth.pot",
"wp2md": "vendor/bin/wp2md -i readme.txt -o readme.md"
}
}
3 changes: 1 addition & 2 deletions includes/class-indieauth-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,7 @@ public function general_settings() {
} else {
$path = 'options-general.php?page=indieauth';
}

printf( __( 'Based on your feedback and to improve the user experience, we decided to move the settings to a separate <a href="%1$s">settings-page</a>.', 'indieauth' ), $path ); // phpcs:ignore
printf( __( 'Based on your feedback and to improve the user experience, we decided to move the settings to a separate <a href="%$s">settings-page</a>.', 'indieauth' ), $path ); // phpcs:ignore
}

/**
Expand Down
2 changes: 1 addition & 1 deletion indieauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: IndieAuth
* Plugin URI: https://github.com/indieweb/wordpress-indieauth/
* Description: IndieAuth is a way to allow users to use their own domain to sign into other websites and services
* Version: 4.5.2
* Version: 4.5.3
* Author: IndieWeb WordPress Outreach Club
* Author URI: https://indieweb.org/WordPress_Outreach_Club
* License: MIT
Expand Down
Loading

0 comments on commit bc89fe4

Please sign in to comment.