Skip to content

frasercrmck/rules_mojo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

103 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rules_mojo

This repository provides rules for building Mojo projects using Bazel.

Quick setup

Copy the latest MODULE.bazel snippet from the releases page.

Currently rules_mojo requires bzlmod and bazel 8.x or later.

Example

load("@rules_mojo//mojo:mojo_binary.bzl", "mojo_binary")

mojo_binary(
    name = "hello_mojo",
    srcs = ["hello_mojo.mojo"],
)

See the tests directory for more examples.

About

bazel rules for building Mojo 🔥

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Starlark 93.2%
  • Mojo 4.3%
  • Shell 1.9%
  • Other 0.6%