Bundlex v0.1.8 Bundlex.BuildScript View Source

Structure encapsulating build script generator.

Link to this section Summary

Link to this section Types

Link to this type

command_t() View Source
command_t() :: String.t()

Link to this type

t() View Source
t() :: %Bundlex.BuildScript{commands: [command_t()]}

Link to this section Functions

Link to this function

new(commands \\ []) View Source
new([command_t()]) :: t()

Creates new build script.

Link to this function

run(build_script, platform) View Source
run(t(), Bundlex.Platform.name_t()) ::
  :ok
  | {:error, {:run_build_script, [return_code: integer(), command: String.t()]}}

Link to this function

store(build_script, platform, name \\ "bundlex") View Source
store(t(), Bundlex.Platform.name_t(), String.t()) ::
  {:ok, {String.t(), String.t()}}