Skip to content

Instantly share code, notes, and snippets.

@lpil
Created June 2, 2020 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lpil/23b893d41b35e9fa01792a649e18a575 to your computer and use it in GitHub Desktop.
Save lpil/23b893d41b35e9fa01792a649e18a575 to your computer and use it in GitHub Desktop.
Gleam compiling Erlang without rebar3 for the first time
louis ~/src/gleam/gleam (build-tool *+) $ cargo run build test/build_with_gleam/
Compiling gleam v0.10.0-dev (/home/louis/src/gleam/gleam)
Finished dev [unoptimized + debuginfo] target(s) in 6.19s
Running `target/debug/gleam build test/build_with_gleam/`
[src/build.rs:88] &status = ExitStatus(
ExitStatus(
0,
),
)
louis ~/src/gleam/gleam (build-tool *+) $ tree test/build_with_gleam/
test/build_with_gleam/
├── _build
│   ├── compile_escript.erl
│   └── default
│   └── lib
│   ├── bob
│   │   ├── ebin
│   │   │   └── bob.beam
│   │   ├── gleam.toml -> ../../../../gleam.toml
│   │   └── src
│   │   ├── bob.erl
│   │   └── bob.gleam -> ../../../../../src/bob.gleam
│   ├── gleam_helper
│   │   ├── ebin
│   │   │   ├── helper@one.beam
│   │   │   └── helper@two.beam
│   │   ├── gleam.toml
│   │   └── src
│   │   ├── helper
│   │   │   ├── one.gleam
│   │   │   └── two.gleam
│   │   ├── helper@one.erl
│   │   └── helper@two.erl
│   ├── gleam_otp
│   │   └── gleam.toml
│   └── gleam_stdlib
│   └── gleam.toml
├── gleam.toml
└── src
└── bob.gleam
13 directories, 16 files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment