module Lune

Defined in:

lune.cr
lune/app.cr
lune/asset_server.cr
lune/assets.cr
lune/bindable.cr
lune/bindings.cr
lune/bridge.cr
lune/installable.cr
lune/logger.cr
lune/options.cr
lune/runner.cr
lune/runtime.cr
lune/runtime_bindings.cr
lune/single_instance.cr
lune/webview.cr

Constant Summary

DEFAULT_FRONTEND_DIR = "frontend"

Default frontend directory name (matches the lune.yml default).

ENV_DEV_URL = "LUNE_DEV_URL"

Environment variables written by the CLI and read by the compiled app.

ENV_FRONTEND_DIR = "LUNE_FRONTEND_DIR"
ENV_PREGEN = "LUNE_PREGEN"
LUNEJS_SUBDIR = "lunejs"

Subdirectory under frontend.dir where Lune writes its generated JS/TS files.

VERSION = "0.3.2"

Class Method Summary

Macro Summary

Class Method Detail

def self.binding_id(namespace : String, name : String) : String #

[View source]
def self.config : Config #

[View source]
def self.configure(&block : Config -> Nil) : Nil #

[View source]
def self.default_logger : Log #

[View source]
def self.enable_debug_logging : Nil #

[View source]
def self.enable_standard_logging : Nil #

[View source]
def self.logger : Log #

[View source]
def self.logger=(logger : Log) : Log #

[View source]

Macro Detail

macro run(app, **options, &block) #

[View source]