make: convenience target to test migrations

This commit is contained in:
Franco Fichtner 2022-03-25 07:44:49 +01:00
parent 364ec4782d
commit 79df42229b

View File

@ -498,6 +498,9 @@ push:
@git push
@git checkout ${CORE_DEVEL}
migrate:
@src/opnsense/mvc/script/run_migrations.php
test: want-phpunit7-php${CORE_PHP}
@if [ "$$(${VERSIONBIN} -v)" != "${CORE_PKGVERSION}" ]; then \
echo "Installed version does not match, expected ${CORE_PKGVERSION}"; \