Bundlex v0.4.0 Bundlex 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

Link to this type

platform_t()

View Source
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
build_path(application :: atom(), native :: atom(), native_interface :: atom()) ::
  String.t()

Returns path where compiled native is stored.

Link to this function

family()

View Source
family() :: :unix | :windows

Returns family of the platform obtained with platform/0.

Returns current platform name.