View Source Bundlex (Bundlex v1.0.1)
Some common utility functions.
Link to this section Summary
Functions
Returns path where compiled native is stored.
Returns family of the platform obtained with platform/0
.
Returns current platform name.
Link to this section Types
@type 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 SourceReturns path where compiled native is stored.
@spec family() :: :unix | :windows
Returns family of the platform obtained with platform/0
.
@spec platform() :: platform_t()
Returns current platform name.