Skip to content

Commit

Permalink
Merge pull request #258 from markkelnar/add-build-plugin-command
Browse files Browse the repository at this point in the history
Add build-plugin command to set up no-dev
  • Loading branch information
markkelnar authored Sep 5, 2023
2 parents 45820d7 + 1f0ca75 commit b86e979
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
"phpstan": [
"phpstan analyze --ansi --memory-limit=1G"
],
"build-plugin": [
"composer install --no-dev --optimize-autoloader && composer run-script zip && composer install"
],
"zip": [
"mkdir -p plugin-build/wpgraphql-smart-cache",
"rsync -rc --exclude-from=.distignore --exclude=plugin-build . plugin-build/wpgraphql-smart-cache/ --delete --delete-excluded -v",
Expand Down

0 comments on commit b86e979

Please sign in to comment.