Fixed build not downloading.

This commit is contained in:
Andrew Hamilton 2019-07-10 11:28:53 +10:00
parent f6cb615c97
commit 5add6d1916

View file

@ -38,7 +38,7 @@ manifest_path, build_dir, state_dir = sys.argv[1:4]
patched_manifest_path = "manifests-cache/patched-manifest.json"
patch_manifest(manifest_path, patched_manifest_path)
subprocess.run(["flatpak-builder", build_dir, patched_manifest_path,
"--force-clean", "--disable-download", "--state-dir", state_dir], check=True)
"--force-clean", "--state-dir", state_dir], check=True)
subprocess.run(["flatpak", "build", build_dir, "test-all"], check=True)
subprocess.run(["flatpak", "build", build_dir, "eris", "--help"], check=True)
print("Build successful:", build_dir)