Moxi is a lightweight build tool designed to be a simple alternative to CMake. It simplifies the build process for projects, providing an easy-to-use solution for compiling.
Moxi is built with simplicity in mind, offering a straightforward approach to building projects without the complexities often associated with larger build systems. Whether you're working on a small application or a larger software project, Moxi aims to streamline the build process, allowing you to focus on your code rather than build configurations.
Key features of Moxi include:
-
Ease of Use: Moxi is designed to be easy to understand and use. With a minimal learning curve, developers can quickly adopt Moxi for their projects.
-
Fast Builds: Moxi prioritizes efficient build times, making it well-suited for projects of various sizes. Build times are optimized to enhance developer productivity.
As of now, Moxi does not provide precompiled releases. To use Moxi, you'll need to compile it from the source code. Moxi is written in Go, so make sure you have Go installed on your system.
This version specifies the installation steps for Windows, assumes the use of PowerShell, and refers to the executable as moxi.exe
.
-
Clone the Moxi repository:
git clone https://github.com/emirsassan/moxi.git
-
Change into the Moxi directory:
cd moxi
-
Build Moxi:
go build -o moxi main.go
-
Optionally, move the moxi.exe binary to a directory in your system's PATH.
Now, you should be able to use the moxi
command in your terminal.
Moxi uses a simple syntax for defining tasks in a Moxifile
. Here's an example Moxifile
:
task: build => go build -o myapp main.go
task: test => go test ./...
In this example:
- The
build
task compiles the main Go file into an executable namedmyapp
. - The
test
task runs tests for the entire project.
To execute a task, run:
moxi build
Replace build
with the desired task name. If no task is specified, Moxi will run all tasks defined in the Moxifile
.
We welcome contributions from the community to enhance Moxi. If you'd like to contribute, please follow these steps:
-
Fork the Repository: Click the "Fork" button on the top-right corner of the GitHub repository to create your own copy.
-
Create a New Branch: Create a new branch for your feature or bug fix. Naming conventions may vary, but use something descriptive like
feature/new-feature
orfix/bug-fix
. -
Make Changes: Make your changes in the new branch. Please adhere to our coding standards and conventions.
-
Commit Changes: Commit your changes with clear and concise commit messages.
-
Push Changes: Push your changes to your fork on GitHub.
-
Open a Pull Request (PR): Open a pull request on the main repository and describe your changes. Make sure to reference any related issues. Our maintainers will review your contribution and provide feedback. Thank you for helping improve Moxi!
Moxi is licensed under the Apache-2.0 license.