0.0
No release in over a year
Beaver is an easy to understand build tool with a lot of capabilities. Documentation and examples on [github](https://github.com/jomy10/beaver).
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

~> 1.6.0
 Project Readme

Beaver

Capable build system and command runner for any project.

Projects can be built programmatically because configuration is written in Ruby.

It is an excellent replacement for make and cmake.

Example

Project(name: "Game")

C::Library(
  name: "Physics",
  description: "Physics simulation library",
  language: :cpp,
  sources: "lib/physics/*.cpp",
  include: "include/physics"
)

C::Library(
  name: "Renderer",
  language: :c,
  sources: "lib/renderer/*.c",
  include: "include/renderer",
  dependencies: [
    pkgconfig("SDL2"),
    system_lib("pthread")
  ]
)

C::Executable(
  name: "Game",
  language: :cpp,
  sources: "src/*.cpp",
  dependencies: ["Physics", "Renderer"]
)

Building

Building requires ruby to be installed. The ruby version linked to will be the one that is accessible from the command line ruby --version.

cargo build -p beaver-cli

Installing

from source

cargo install --git https://github.com/jomy10/beaver

Documentation

Coming soon

Contributing

Feel free to open an issue regarding bugs or improvements. If you want to work on an improvement, you can do so by commenting on its issue and opening a pull request. Your help is much appreciated!

Running tests

Be sure to check your changes with tests. Add new ones if your change is not coverd by the current tests.

cargo test

Questions

Feel free to ask any questions you may have by opening an issue.

License

This software is licensed under the MIT license.

References