Merge pull request #312 from pdvyas/hotfix
[fix] move version validation to build and serve
This commit is contained in:
commit
e251d75b61
3 changed files with 2 additions and 1 deletions
|
|
@ -635,4 +635,3 @@ def validate_versions():
|
|||
if not spec.match(framework_version):
|
||||
raise Exception, "Framework version out of sync"
|
||||
|
||||
validate_versions()
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@ application = StaticDataMiddleware(application, {
|
|||
|
||||
|
||||
def serve(port=8000, profile=False):
|
||||
webnotes.validate_versions()
|
||||
global application
|
||||
from werkzeug.serving import run_simple
|
||||
if profile:
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ from cssmin import cssmin
|
|||
def bundle(no_compress, cms_make=True):
|
||||
"""concat / minify js files"""
|
||||
# build js files
|
||||
webnotes.validate_versions()
|
||||
check_public()
|
||||
check_lang()
|
||||
bundle = Bundle()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue