No description
Find a file
2022-11-22 12:04:26 +08:00
.github/workflows New upstream version 0.0.15 2022-11-22 11:19:55 +08:00
debian Non-maintainer upload 2022-11-22 12:04:26 +08:00
notes Add architecture. 2021-03-02 01:16:51 +00:00
ognibuild New upstream version 0.0.15 2022-11-22 11:19:55 +08:00
scripts New upstream version 0.0.15 2022-11-22 11:19:55 +08:00
tests New upstream version 0.0.15 2022-11-22 11:19:55 +08:00
.flake8 Fix formatting. 2021-02-10 02:19:06 +00:00
.gitignore New upstream version 0.0.15 2022-11-22 11:19:55 +08:00
AUTHORS Import some fixes from resolver branch. 2021-02-22 17:17:34 +00:00
CODE_OF_CONDUCT.md Update email. 2021-02-24 15:33:44 +00:00
disperse.conf New upstream version 0.0.15 2022-11-22 11:19:55 +08:00
LICENSE Add base templates, etc. 2020-10-22 19:17:47 +01:00
Makefile New upstream version 0.0.15 2022-11-22 11:19:55 +08:00
pyproject.toml New upstream version 0.0.15 2022-11-22 11:19:55 +08:00
README.md New upstream version 0.0.15 2022-11-22 11:19:55 +08:00
SECURITY.md Add SECURITY.md. 2021-02-24 15:15:30 +00:00
setup.cfg New upstream version 0.0.15 2022-11-22 11:19:55 +08:00
setup.py New upstream version 0.0.15 2022-11-22 11:19:55 +08:00
TODO More refactoring. 2021-02-26 01:41:05 +00:00

ognibuild

Ognibuild is a simple wrapper with a common interface for invoking any kind of build tool.

The ideas is that it can be run to build and install any source code directory by detecting the build system that is in use and invoking that with the correct parameters.

It can also detect and install missing dependencies.

Goals

The goal of ognibuild is to provide a consistent CLI that can be used for any software package. It is mostly useful for automated building of large sets of diverse packages (e.g. different programming languages).

It is not meant to expose all functionality that is present in the underlying build systems. To use that, invoke those build systems directly.

Usage

Ognibuild has a number of subcommands:

  • ogni clean - remove any built artifacts
  • ogni dist - create a source tarball
  • ogni build - build the package in-tree
  • ogni install - install the package
  • ogni test - run the testsuite in the source directory

It also includes a subcommand that can fix up the build dependencies for Debian packages, called deb-fix-build.

Examples

ogni -d https://gitlab.gnome.org/GNOME/fractal install

Status

Ognibuild is functional, but sometimes rough around the edges. If you run into issues (or lack of support for a particular ecosystem), please file a bug.

Supported Build Systems

  • Bazel
  • Cabal
  • Cargo
  • Golang
  • Gradle
  • Make, including various makefile generators:
    • autoconf/automake
    • CMake
    • Makefile.PL
    • qmake
  • Maven
  • ninja, including ninja file generators:
    • meson
  • Node
  • Octave
  • Perl
    • Module::Build::Tiny
    • Dist::Zilla
    • Minilla
  • PHP Pear
  • Python - setup.py/setup.cfg/pyproject.toml
  • R
  • Ruby gems
  • Waf

Supported package repositories

Package repositories are used to install missing dependencies.

The following "native" repositories are supported:

  • pypi
  • cpan
  • hackage
  • npm
  • cargo
  • cran
  • golang*

As well one distribution repository:

  • apt

License

Ognibuild is licensed under the GNU GPL, v2 or later.