Skip to content

Commit 8d02aa7

Browse files
authored
add a event script command for package update
1 parent d70440d commit 8d02aa7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"phpunit/phpunit": "^5.7"
4141
},
4242
"scripts": {
43-
"test": "./vendor/bin/phpunit"
43+
"test": "./vendor/bin/phpunit",
44+
"post-package-update": "echo 'Please rerun command: php bin/swoft dev:publish swoft/devtool -f'"
4445
}
4546
}

0 commit comments

Comments
 (0)