Beispiel #1
0
#!/usr/bin/env python

from coreweb._closurebuild.compiler import compile, get_git_rev

import build_depsjs

roots = ["../Coreweb/js_coreweb", "js_minerva"]
extra_lines = ["Used Coreweb " + get_git_rev("../Coreweb")]

compile(
	 roots=roots
	,namespaces=["cw.net.setupXDRFrame", "cw.net.XHRSlave"]
	,output="minerva/compiled_client/xdrframe.js"
	,output_log="minerva/compiled_client/xdrframe.js.log"
	,externs=['js_minerva/externs/standalone-client.js']
	,log_lines=extra_lines
)

compile(
	 roots=roots
	,namespaces=["minerva_client"]
	,output="minerva/compiled_client/minerva-client.js"
	,output_log="minerva/compiled_client/minerva-client.js.log"
	,externs=['js_minerva/externs/standalone-client.js']
	,defines={'cw.net.STANDALONE_CLIENT_BUILD_': 'true'}
	,log_lines=extra_lines
)
#!/usr/bin/env python

from coreweb._closurebuild.compiler import compile, get_git_rev

import build_depsjs

roots = ["../Coreweb/js_coreweb", "../Minerva/js_minerva", "js_demosminerva"]
extra_lines = [
	 "Used Coreweb " + get_git_rev("../Coreweb")
	,"Used Minerva " + get_git_rev("../Minerva")
]

compile(
	 roots=roots
	,namespaces=["whiteboard"]
	,output="demosminerva/static/whiteboard.js"
	,output_log="demosminerva/static/whiteboard.js.log"
	,externs=['../Minerva/js_minerva/externs/normal-client.js']
	,log_lines=extra_lines
)

compile(
	 roots=roots
	,namespaces=["ljstream"]
	,output="demosminerva/static/ljstream.js"
	,output_log="demosminerva/static/ljstream.js.log"
	,externs=['../Minerva/js_minerva/externs/normal-client.js']
	,log_lines=extra_lines
)
Beispiel #3
0
#!/usr/bin/env python

from coreweb._closurebuild.compiler import compile

import build_depsjs

compile(
    roots=["js_coreweb"],
    namespaces=["cw.tabnexus_worker"],
    output="coreweb/compiled/tabnexus_worker.js",
    output_log="coreweb/compiled/tabnexus_worker.js.log",
)
Beispiel #4
0
#!/usr/bin/env python

from coreweb._closurebuild.compiler import compile

import build_depsjs

compile(roots=["js_coreweb"],
        namespaces=["cw.tabnexus_worker"],
        output="coreweb/compiled/tabnexus_worker.js",
        output_log="coreweb/compiled/tabnexus_worker.js.log")