-
Notifications
You must be signed in to change notification settings - Fork 414
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rules] Factor out the calculation of build root directory.
Several plugins need to access this information, so we place it in `gen_rules` for consistency. Signed-off-by: Emilio Jesus Gallego Arias <[email protected]>
- Loading branch information
Showing
7 changed files
with
22 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module Dir_contents = Dir_contents (* hack for bootstrappign + ocamldep*) | ||
|
||
let setup_rules ~sctx:_ ~dir:_ ~dir_contents:_ _ = [] | ||
let setup_rules ~sctx:_ ~build_dir:_ ~dir:_ ~dir_contents:_ _ = [] | ||
let install_rules ~sctx:_ ~dir:_ _ = [] | ||
let coqpp_rules ~sctx:_ ~dir:_ _ = [] | ||
let coqpp_rules ~sctx:_ ~build_dir:_ ~dir:_ _ = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
let gen_rules ~dir _ _ = () | ||
let gen_rules ~build_dir:_ ~dir:_ _ _ = () | ||
|
||
let targets _ = [] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters