Generates the resource.php files for testing directly