Closed igor-petruk closed 4 years ago
Something like this if TOML
script_src="script.ml"
build_cmd="dune build script.exe"
target_bin="@@@/_build/default/script.exe"
[[file]]
name="dune"
contents="""
(executable
(name script)
(libraries lwt.unix))
"""
Inside of the block
# scriptisto-begin
# <-- here
# scriptisto-end
Might look ugly for Rust, if we have TOML inside of TOML
Oops, forgot to reference 7f1286bad8f4941bf04d53789c9b7454c7d9e1d9
YAML or TOML are good candidates