Skip to content

Commit

Permalink
Add strauss permissions fix
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctl committed Dec 11, 2024
1 parent ec84da3 commit 460078c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,23 @@
"scripts": {
"test": "./vendor/bin/phpunit --colors --stop-on-failure",
"unreleased": "./vendor/bin/since-unreleased.sh",
"fix-strauss-permissions": [
"find vendor -type d -exec chmod 0755 {} \\;"
],
"strauss": [
"bin/strauss-installar.sh",
"vendor/stellarwp/validation/bin/set-domain domain=give",
"@php bin/strauss.phar"
"@php bin/strauss.phar",
"@composer dump-autoload"
],
"post-install-cmd": [
"@strauss",
"@php -r \"file_exists('tests/wp-tests-config.php') || copy('tests/wp-tests-config.dist.php', 'tests/wp-tests-config.php');\""
"@php -r \"file_exists('tests/wp-tests-config.php') || copy('tests/wp-tests-config.dist.php', 'tests/wp-tests-config.php');\"",
"@fix-strauss-permissions"
],
"post-update-cmd": [
"@strauss"
"@strauss",
"@fix-strauss-permissions"
],
"bundle": [
"@copy-fonts",
Expand Down

0 comments on commit 460078c

Please sign in to comment.