Skip to content

mix: enable escripts via NIF-free syslog package

dch requested to merge dch/drink:main into master

Let me know which of these commits you want in. As an Elixir user, I'd normally expect all of them.

  • add .gitignore
  • switch to NIF-free syslog implementation & re-enable escript target
  • add mix.lock

For syslog, normally this would only be enabled in releases / production MIX_ENV setting. These are typically set via ./config/runtime.exs and similar files, see https://hexdocs.pm/elixir/Config.html for more info, or @ me on fedi for questions.

$ mix test
...
Generated socket app
==> drink
Compiling 17 files (.ex)
Generated drink app
..........................................................
Finished in 0.05 seconds (0.00s async, 0.05s sync)
58 tests, 0 failures

Randomized with seed 438674
$ mix escript.build
Generated escript drink with MIX_ENV=dev
$ ./drink

12:07:17.641 [warning] Receiving requests on port 53

Merge request reports