-
-
Save shinzui/a699f14d29880c347fb6aa5612607f97 to your computer and use it in GitHub Desktop.
Opam configuration for both sandbox and compilation cache
This file contains hidden or 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
pre-install-commands: | |
["opam-bin-cache.sh" "restore" build-id name] {?build-id} | |
wrap-build-commands: [ | |
["opam-bin-cache.sh" "wrap" build-id] {?build-id} | |
["%{hooks}%/sandbox.sh" "build"] {os = "linux"} | |
] | |
wrap-install-commands: [ | |
["opam-bin-cache.sh" "wrap" build-id] {?build-id} | |
["%{hooks}%/sandbox.sh" "install"] {os = "linux"} | |
] | |
wrap-remove-commands: ["%{hooks}%/sandbox.sh" "remove"] {os = "linux"} | |
post-install-commands: | |
["opam-bin-cache.sh" "store" build-id installed-files] | |
{?build-id & error-code = "0"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment