Beispiel #1
0
def bundle(no_compress, cms_make=True):
	"""concat / minify js files"""
	# build js files
	check_public()
	check_lang()
	bundle = Bundle()
	bundle.no_compress = no_compress
	bundle.make()

	if cms_make:
		# build index.html and app.html
		from website.helpers.make_web_include_files import make
		make()
	
	if not no_compress:
		from home.page.latest_updates import latest_updates
		latest_updates.make()
Beispiel #2
0
def bundle(no_compress, cms_make=True):
    """concat / minify js files"""
    # build js files
    check_public()
    check_lang()
    bundle = Bundle()
    bundle.no_compress = no_compress
    bundle.make()

    if cms_make:
        # build index.html and app.html
        from website.helpers.make_web_include_files import make
        make()

    if not no_compress:
        from home.page.latest_updates import latest_updates
        latest_updates.make()
def on_build():
    from home.page.latest_updates import latest_updates

    latest_updates.make()
Beispiel #4
0
def on_build():
	from website.doctype.website_settings.make_web_include_files import make
	make()
	
	from home.page.latest_updates import latest_updates
	latest_updates.make()
Beispiel #5
0
def on_build():
    from home.page.latest_updates import latest_updates
    latest_updates.make()
def on_build():
	from website.helpers.make_web_include_files import make
	make()
	
	from home.page.latest_updates import latest_updates
	latest_updates.make()