Upward.Appup (upward v0.0.7)

View Source

This module is responsible for generating appup files for changes between two versions of an application.

Summary

Functions

Generate an appup file for changes between two versions of an application.

Types

app()

@type app() :: atom()

appup_ver()

@type appup_ver() :: charlist() | binary()

change()

@type change() :: :soft | {:advanced, [term()]}

dep_mods()

@type dep_mods() :: [module()]

instruction()

@type instruction() ::
  {:add_module, module()}
  | {:delete_module, module()}
  | {:update, module(), :supervisor | change()}
  | {:update, module(), change(), dep_mods()}
  | {:load_module, module()}
  | {:load_module, module(), dep_mods()}
  | {:apply, {module(), atom(), [term()]}}
  | {:add_application, atom()}
  | {:remove_application, atom()}
  | {:restart_application, atom()}
  | :restart_new_emulator
  | :restart_emulator

version_str()

@type version_str() :: String.t()

Functions

make(application, v1, v2, v1_path, v2_path, transforms \\ [])

Generate an appup file for changes between two versions of an application.