Beispiel #1
0
 def go():
     stack_build.create_bin_dirs()
     if not dry_run:
         stack_build.build_ghcjs(frontend_args, dev_mode)
     atom_prepare.run(dev_mode)
     atom_apm.run(gui_url, frontend_args, dev_mode)
     copy_configs.run()
Beispiel #2
0
def build_runner(runner_args):
    try:
        stack_build.create_bin_dirs()
        stack_build.build_runner(runner_args)
        stack_build.link_main_bin()
    except subprocess.CalledProcessError:
        print("Status : FAIL")
        sys.exit(1)
Beispiel #3
0
def build_backend(backend_args):
    try:
        print("Building backend")
        stack_build.create_bin_dirs()
        stack_build.build_backend(backend_args)
        stack_build.copy_std_lib()

    except subprocess.CalledProcessError:
        print("Status : FAIL")
        sys.exit(1)
Beispiel #4
0
def build_frontend(frontend_args, gui_url, dev_mode):
    try:
        print("Building frontend")
        stack_build.create_bin_dirs()
        stack_build.build_ghcjs(frontend_args, dev_mode)
        atom_prepare.run(dev_mode)
        atom_apm.run(gui_url, frontend_args, dev_mode)
        copy_configs.run()

    except subprocess.CalledProcessError:
        print("Status : FAIL")
        sys.exit(1)