Bundlex v0.2.3 Bundlex View Source

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 platform name passed by --platform command line argument or fallbacks to the current platform name

Link to this section Functions

Link to this function

build_path(application \\ MixHelper.get_app!(), native) View Source

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.

Link to this function

platform() View Source
platform() :: :linux | :macosx | :windows32 | :windows64

Returns platform name passed by --platform command line argument or fallbacks to the current platform name.