Bundlex v0.1.6 Bundlex.BuildScript View Source
Structure encapsulating build script generator.
Link to this section Summary
Functions
Creates new build script
Link to this section Types
Link to this type
command_t()
View Source
command_t()
View Source
command_t() :: String.t()
command_t() :: String.t()
Link to this type
t()
View Source
t()
View Source
t() :: %Bundlex.BuildScript{commands: [command_t()]}
t() :: %Bundlex.BuildScript{commands: [command_t()]}
Link to this section Functions
Link to this function
new(commands \\ []) View Source
Creates new build script.
Link to this function
run(build_script, platform)
View Source
run(build_script, platform)
View Source
run(t(), Bundlex.Platform.name_t()) ::
:ok
| {:error, {:run_build_script, [return_code: integer(), command: String.t()]}}
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(build_script, platform, name \\ "bundlex")
View Source
store(t(), Bundlex.Platform.name_t(), String.t()) ::
{:ok, {String.t(), String.t()}}
store(t(), Bundlex.Platform.name_t(), String.t()) :: {:ok, {String.t(), String.t()}}