run the compile task before migration

Run the compile task before a migration is generated. This ensures that a newly added Repo will be found by the migration task.