Skip to content

Commit

Permalink
Add Composer build and release scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed Sep 27, 2024
1 parent 59d3514 commit e77c0e6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"yoast/phpunit-polyfills": "^1.0"
},
"scripts": {
"build": "vendor/bin/pronamic wp-build",
"ci": [
"@phplint",
"@phpcs",
Expand All @@ -85,6 +86,10 @@
"phpunit": "vendor/bin/phpunit",
"post-install-cmd": "echo 'Optionally run: composer bin all install'",
"post-update-cmd": "echo 'Optionally run: composer bin all update'",
"psalm": "vendor/bin/psalm"
"psalm": "vendor/bin/psalm",
"release": [
"@build",
"vendor/bin/pronamic release-to-github"
]
}
}

0 comments on commit e77c0e6

Please sign in to comment.