Current section
Files
Jump to
Current section
Files
lib/lissome.ex
defmodule Lissome do
@moduledoc """
Integration of Gleam's Lustre framework with Phoenix LiveView
"""
@gleam_package_path File.cwd!() |> Path.join("src_gleam") |> Path.expand()
@gleam_package_app "lissome"
# build gleam package at compile time
Lissome.GleamBuilder.build_gleam(:erlang,
gleam_dir: @gleam_package_path,
gleam_app: @gleam_package_app,
erlang_outdir: "lib/lissome"
)
end