The unpac monorepo manager self-hosting as a monorepo using unpac
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix for large package builds

+12 -1
+8
vendor/opam/topkg/CHANGES.md
··· 1 + 2 + - Support for large package builds. On build generate a `pkg.itarget` 3 + at the root with the files to build and invoke `ocamlbuild` with 4 + `pkg.otarget` rather than the explicit list of files. The 5 + `pkg.itarget` file can be ignored by your VCS as it is generated on 6 + the fly on each build. As a side effect, improves error reporting on 7 + build failures. 8 + 1 9 v1.1.0 2025-07-23 Zagreb 2 10 ------------------------ 3 11
+3 -1
vendor/opam/topkg/src/topkg_build.ml
··· 43 43 let nop = fun _ -> Ok () 44 44 45 45 let cmd c os files = 46 - Topkg_os.Cmd.run @@ Topkg_cmd.(build_cmd c os %% of_list files) 46 + let targets = String.concat "\n" files in 47 + Topkg_os.File.write "pkg.itarget" targets >>= fun () -> 48 + Topkg_os.Cmd.run @@ Topkg_cmd.(build_cmd c os % "pkg.otarget") 47 49 48 50 let clean os ~build_dir = 49 51 Topkg_os.Cmd.run @@ clean_cmd os ~build_dir
+1
vendor/opam/topkg/src/topkg_pkg.ml
··· 306 306 let file = install_file p in 307 307 let build_dir = build_dir p in 308 308 Topkg_os.File.delete file 309 + >>= fun () -> Topkg_os.File.delete "pkg.itarget" 309 310 >>= fun () -> (Topkg_build.clean p.build) os ~build_dir 310 311 >>= fun () -> Ok 0 311 312