Skip to content

Commit

Permalink
pass "--no-extra-repo" in x-mirage-pre-build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesm committed Jul 7, 2022
1 parent b4f41ef commit 05d206c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/functoria/lib.ml
Expand Up @@ -145,7 +145,7 @@ module Make (P : S) = struct
let opts =
if command_line_arguments = "" then None else Some command_line_arguments
in
( Fmt.str {|%s configure%a|} P.name
( Fmt.str {|%s configure%a --no-extra-repo|} P.name
Fmt.(option ~none:(any "") (any " " ++ string)) opts,
(fun sub -> Fmt.str {|make %a"depend"|}
Fmt.(option ~none:(any "")
Expand Down
2 changes: 1 addition & 1 deletion test/functoria/query/run.t
Expand Up @@ -29,7 +29,7 @@ Query opam file
]

x-mirage-pre-build: [
[ "sh" "-exc" "test configure" ]
[ "sh" "-exc" "test configure --no-extra-repo" ]
[ make "depend" ]
]

Expand Down
2 changes: 1 addition & 1 deletion test/mirage/query/run-hvt.t
Expand Up @@ -34,7 +34,7 @@ Query opam file
]

x-mirage-pre-build: [
[ "sh" "-exc" "mirage configure --target hvt" ]
[ "sh" "-exc" "mirage configure --target hvt --no-extra-repo" ]
[ make "depend" ]
]

Expand Down
2 changes: 1 addition & 1 deletion test/mirage/query/run.t
Expand Up @@ -37,7 +37,7 @@ Query opam file
]

x-mirage-pre-build: [
[ "sh" "-exc" "mirage configure" ]
[ "sh" "-exc" "mirage configure --no-extra-repo" ]
[ make "depend" ]
]

Expand Down

0 comments on commit 05d206c

Please sign in to comment.