|
|
@@ -1,6 +1,6 @@ |
|
|
|
from __future__ import unicode_literals, absolute_import, print_function |
|
|
|
import click |
|
|
|
import hashlib, os, sys |
|
|
|
import hashlib, os, sys, compileall |
|
|
|
import frappe |
|
|
|
from frappe import _ |
|
|
|
from _mysql_exceptions import ProgrammingError |
|
|
@@ -218,6 +218,8 @@ def migrate(context, rebuild_website=False): |
|
|
|
finally: |
|
|
|
frappe.destroy() |
|
|
|
|
|
|
|
compileall.compile_dir('../apps', quiet=1) |
|
|
|
|
|
|
|
@click.command('run-patch') |
|
|
|
@click.argument('module') |
|
|
|
@pass_context |
|
|
|