import gleam/io
pub fn main() {
io.println("Welcome to a Gleamish ExtLib!")
io.println(
"Notice: This package is meant to be used only as library and not a stand-alone application.",
)
}
as well as a gleamish_extlib.erl with -module(gleamish_extlib). and gleam test --target javascript worked but gleam test --target erlang failed and I didn't know why until I transferred one by one files from the current to an empty new project.
in
src/gleamish_extlib.gleam
, I had:as well as a
gleamish_extlib.erl
with-module(gleamish_extlib).
andgleam test --target javascript
worked butgleam test --target erlang
failed and I didn't know why until I transferred one by one files from the current to an empty new project.