https://github.com/kczulko/rules_elm
Bazel rules for building web applications written in Elm
https://github.com/kczulko/rules_elm
bazel bazel-rules elm
Last synced: 12 months ago
JSON representation
Bazel rules for building web applications written in Elm
- Host: GitHub
- URL: https://github.com/kczulko/rules_elm
- Owner: kczulko
- License: apache-2.0
- Created: 2019-03-08T19:37:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-07-03T10:40:26.000Z (about 1 year ago)
- Last Synced: 2025-07-03T11:44:29.639Z (about 1 year ago)
- Topics: bazel, bazel-rules, elm
- Language: Starlark
- Size: 314 KB
- Stars: 27
- Watchers: 1
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
- Authors: AUTHORS
Awesome Lists containing this project
README
# Bazel build rules for Elm






[Elm](https://elm-lang.org/) is a functional programming language that
can be [transpiled](https://en.wikipedia.org/wiki/Source-to-source_compiler)
to Javascript. This repository contains rules for building Elm
applications using [the Bazel build system](https://bazel.build/). 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](https://github.com/kczulko/rules_elm/releases) for detailed instructions.
## Examples on how to use these rules
- [examples directory](./examples) - contains several 'end to end' projects consuming
the rules provided by this repository.
- [The Bazel Elm SPA Example repository](https://github.com/EdSchouten/bazel-elm-spa-example) -
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](./docs) directory
- [build rules](./docs/rules.md)
- [repository rules](./docs/repo_rules.md)