Bundlex (Bundlex v0.5.1) View Source

Some common utility functions.

Link to this section Summary

Functions

Returns family of the platform obtained with platform/0.

Returns current platform name.

Link to this section Types

Specs

platform_t() :: :linux | :macosx | :windows32 | :windows64

Link to this section Functions

Link to this function

build_path(application \\ MixHelper.get_app!(), native, native_interface)

View Source

Specs

build_path(application :: atom(), native :: atom(), native_interface :: atom()) ::
  String.t()

Returns path where compiled native is stored.

Specs

family() :: :unix | :windows

Returns family of the platform obtained with platform/0.

Specs

platform() :: platform_t()

Returns current platform name.