bake-bake-bake / bakeware

Compile Elixir applications into single, easily distributed executable binaries
Other
1.43k stars 45 forks source link

Support Mix release commands #92

Closed jjcarstens closed 3 years ago

jjcarstens commented 3 years ago

Resolves #91

Allows one to specify a mix release command to use with --mix-{CMD}

This is currently producing a Seg fault, but at least getting it up for someone better at C than me to look at why. (Or I will revisit when time allows)

jjcarstens commented 3 years ago

This is ready for a good review:

Next PR I want to remove the add_start_script and move to C. I also think I want to scope bakeware options in the release to a :bakeware key so we don't conflict with any other options

fhunleth commented 3 years ago

@jjcarstens I rebased this and made a couple minor updates to enforce the 12-char command limitation. It's not ideal, but it should be good enough for the start script.