Mbuild is finally released 1.0.0

mbuild is a build tool that helps to manage large or small code bases, it is like make file but has more features and different design philosophies.

1) you type targets as you do on a Makefile, for example:-

list-files: ls -la 

and you type this in "Mbuildfile" file, the same as you type Makefile on make. Don't forget to add a new line at the end.

2) it supports groups, which means running many targets in one target and that target will run another targets, for instance:-

compile-kernel: [compile-boot,compile-dependency-so,generate-docs,] 
  • all listings in the array require a comma ',' after them, even the last one.

3) it supports multi stage building, that you can run multiple targets from multiple directory

this is a different config file you write, so you create "Mbuildallfile" file, this is useful for creating many dependent builds (order matters), so you create Mbuildallfile from where you want to build all

{ wd: Desktop/my_cool_project; target: compile_necessary; } { wd: Desktop/my_cool_project_final; target: compile_polish; } 

Installation

1. RPM Package

#enable copr to mbuild sudo dnf copr enable message-beast/mbuild #install mbuild sudo dnf install mbuild 

2. or you can install it manually

-> manually compiling and setting executable

  • make sure you clone the repo first
#clone the repo git clone https://github.com/message-beast/mbuild cd mbuild 
  • then compile and set it
#install it sudo make compile 

-> downloading the pre-compiled binary

  • first, download the latest version from mbuild repository
  • secondly, move it to the executable path that you want for example, to /usr/bin/mbuild

need more info about mbuild?

  • run:
mbuild --help 
  • see the Github repository

    GitHub logo message-beast / mbuild

    mbuild is a project that used to configure the build process and automate builds for large scale code bases

    MBUILD

    mbuild is an automation build system which is created in the consideration of build process of large code bases and simplify the build processes. and also for managing nested builds.

    Design

    • the design is very user friendly specially if you have used make file before. it is just you write targets once and do the commands your self like:
    list-files: ls -la 
    • If you want to use groups just do the target name and put your arrays of targets in [] but even the last one must contain ',' infront of it and there is no space allowed between members of your group array, And this target runs the target of its own Mbuildfile file not other targets of Mbuildfile files in other directories!
    build-kernel: [compile-kernel,compile-some-other-so,compile-syscalls,] 
    • Mbuild also supports nested builds, so you gotta create Mbuildallfile file like the following syntax and run mbuild :all:
    { wd: Desktop/my_cool_project target:
    …