MCPcopy Create free account
hub / github.com/cactus-compute/cactus / cmd_build_android

Function cmd_build_android

python/src/cli.py:920–936  ·  view source on GitHub ↗

Build Cactus for Android.

(args)

Source from the content-addressed store, hash-verified

918
919
920def cmd_build_android(args):
921 """Build Cactus for Android."""
922 print_color(BLUE, "Building Cactus for Android...")
923 print("=" * 32)
924
925 build_script = PROJECT_ROOT / "android" / "build.sh"
926 if not build_script.exists():
927 print_color(RED, f"Error: build.sh not found at {build_script}")
928 return 1
929
930 result = run_command(str(build_script), cwd=PROJECT_ROOT / "android", check=False)
931 if result.returncode != 0:
932 print_color(RED, "Android build failed")
933 return 1
934
935 print_color(GREEN, "Android build complete!")
936 return 0
937
938
939def cmd_build_flutter(args):

Callers 1

cmd_buildFunction · 0.85

Calls 2

print_colorFunction · 0.85
run_commandFunction · 0.85

Tested by

no test coverage detected