Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite build config parsing to me shorter, cleaner and use some standard config format #1

Closed
igor-petruk opened this issue Oct 22, 2019 · 3 comments
Assignees
Labels
announce-blocker Unless this is fixed, no point announcing anywhere enhancement New feature or request

Comments

@igor-petruk
Copy link
Owner

YAML or TOML are good candidates

@igor-petruk igor-petruk self-assigned this Oct 22, 2019
@igor-petruk igor-petruk added enhancement New feature or request announce-blocker Unless this is fixed, no point announcing anywhere labels Oct 22, 2019
@igor-petruk
Copy link
Owner Author

igor-petruk commented Oct 23, 2019

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

@igor-petruk
Copy link
Owner Author

Might look ugly for Rust, if we have TOML inside of TOML

@igor-petruk
Copy link
Owner Author

Oops, forgot to reference 7f1286b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
announce-blocker Unless this is fixed, no point announcing anywhere enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant