Skip to content

Commit 22ba9c2

Browse files
committed
Adapt package for framework v2
1 parent 865d212 commit 22ba9c2

File tree

13 files changed

+17
-3460
lines changed

13 files changed

+17
-3460
lines changed

bin/install-package-tests.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

bin/test.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

composer.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@
2222
},
2323
"files": [ "cache-command.php" ]
2424
},
25-
"require": {},
25+
"require": {
26+
"wp-cli/wp-cli": "^2"
27+
},
2628
"require-dev": {
27-
"behat/behat": "~2.5",
28-
"wp-cli/wp-cli": "*"
29+
"wp-cli/wp-cli-tests": "^0"
2930
},
3031
"extra": {
3132
"branch-alias": {
@@ -49,5 +50,18 @@
4950
"transient set",
5051
"transient type"
5152
]
53+
},
54+
"scripts": {
55+
"lint": "run-linter-tests",
56+
"phpcs": "run-phpcs-tests",
57+
"phpunit": "run-php-unit-tests",
58+
"behat": "run-behat-tests",
59+
"prepare-tests": "install-package-tests",
60+
"test": [
61+
"@lint",
62+
"@phpcs",
63+
"@phpunit",
64+
"@behat"
65+
]
5266
}
5367
}

0 commit comments

Comments
 (0)