xen-troops / moulin

Moulin is meta build system that is capable of building multiple images at once
Apache License 2.0
2 stars 15 forks source link

moulin: can't add multiple args as array for custom scrip builder #100

Closed al1img closed 5 months ago

al1img commented 8 months ago

I expect args could be added as string array, similar to args in bazel builder:

  args:
    - "--arg1"
    - "--arg2"

But I have error in this case:

moulin.yaml_helpers.YAMLProcessingError: Expected string value, got <class 'NoneType'>   in "secure-rpi.yaml", line 93, column 9
ninja: error: rebuilding 'build.ninja': subcommand failed

Only args as string is allowed:

args "--arg1 --arg2"

that is not convenient for long args string.

dsemenets commented 7 months ago

Created PR https://github.com/xen-troops/moulin/pull/103

dsemenets commented 7 months ago

@al1img I guess this issue can be closed