ppx_blob
ppx_blob copied to clipboard
OCaml ppx to include binary data from a file as a string
We don't seem to need to use `absolute_path` if the relevant `preprocessor_deps` stanzas are added - in this case it looks like we can just load the file as a...
If we change `(lang dune 1.0)` to `(lang dune 3.0)` (https://github.com/johnwhitington/ppx_blob/blob/0.7.2/dune-project#L1 the build will failed with following error. ``` $ make all dune build @install @example File "example/quine.ml", line 1,...
Changes for the user: - Absolute paths are no longer concatenated with the source directory to form a blob candidate path: they are only treated as absolute paths. - Minor...
this can be useful when e.g. embedding modern frontend build result where filenames contain hash of their contents