distillery_packager v0.4.5 DistilleryPackager.Utils.Config

This module is used to retrieve basic information for use with configuration

Summary

Functions

Use uname to detect the architecture we’re currently building for

Get the path to a file located in the rel directory of the current project. You can pass either a file name, or a list of directories to a file

Retrieve the Application root, which is used when referring to relative files in the library (such as templates)

Sanitize certain elements so that they are filesystem safe

Functions

detect_arch()

Use uname to detect the architecture we’re currently building for

rel_dest_path()
rel_dest_path(files)

Get the path to a file located in the rel directory of the current project. You can pass either a file name, or a list of directories to a file.

root()

Retrieve the Application root, which is used when referring to relative files in the library (such as templates)

sanitize_config(map)

Sanitize certain elements so that they are filesystem safe.