View Source Bundlex (Bundlex v1.0.0)

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

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

Returns 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.