def compile_application(folder, skip_failed_views=False):
 remove_compiled_application(folder)
 os.mkdir(pjoin(folder, 'compiled'))
 compile_models(folder)
 compile_controllers(folder)
 failed_views = compile_views(folder, skip_failed_views)
 return failed_views

def compile_application ( folder , skip_failed_views = False ) : remove_compiled_application ( folder ) os . mkdir ( pjoin ( folder , 'compiled' ) ) compile_models ( folder ) compile_controllers ( folder ) failed_views = compile_views ( folder , skip_failed_views ) return failed_views
compiles all models .