Pravda v0.3.1 Pravda.Loader View Source

This loads the spec into a compiled binary. It is useful as the specs might not be available in the priv folder or on the deployed machine. this way we build up the spec file at compile time and not at run time.

Link to this section Summary

Functions

Read_file exposes the macro that allows you to point to any local file and have it be part of the deploy on release.

Link to this section Functions

Link to this macro

read_file(file_name)

View Source (macro)

Read_file exposes the macro that allows you to point to any local file and have it be part of the deploy on release.