Skip to content

Bazel rules for building web applications written in Elm

License

Notifications You must be signed in to change notification settings

kczulko/rules_elm

Repository files navigation

Bazel build rules for Elm

CI osx_amd64 osx_amd64 osx_amd64 Bazel 7 Bazel 8

Elm is a functional programming language that can be transpiled to Javascript. This repository contains rules for building Elm applications using the Bazel build system. These rules depend on their own copy of the Elm compiler, meaning that Elm and any libraries used may be versioned as part of your Bazel project.

Adding these rules to your project

Check the releases for detailed instructions.

Examples on how to use these rules

  • examples directory - contains several 'end to end' projects consuming the rules provided by this repository.
  • The Bazel Elm SPA Example repository - contains a concrete example of how these rules may be used to build a web application written in Elm. Might be a bit out of date, however this example brings a copy of a well-known demonstration application that has been adjusted to be buildable using Bazel.

Public API docs

Please check docs directory