An open API service indexing awesome lists of open source software.

https://github.com/majkenbagge/matic

An abomination of a Haskell build system.
https://github.com/majkenbagge/matic

abandon-all-hope build-system cabal cursed haskell shell stack

Last synced: about 2 months ago
JSON representation

An abomination of a Haskell build system.

Awesome Lists containing this project

README

          

# 🏴‍☠️ Haskell Build-O-Matic™ 5000 🏴‍☠️

**The cursed build system Haskell *deserves* but not the one it *needs* right now.**

A *100% Cabal/Stack-free* experience for the **true masochists** of Haskell development.

## ✨ Features

- **`.matic` config files** (because YAML is for cowards).
- **Gaslight HLS** into thinking your project is "normal".
- **Watch mode** that scours your project for changes every 4 seconds (patience is a virtue you don’t have).
- **Nuclear clean** (no survivors, no traces, only pain).
- **Zero dependencies** (except `ghc`, `bash`, and your poor life choices).

## 💀 Quick Start

1. **Summon a new project:**
```sh
./matic create
```
*It'll help you create a new project (and maybe a few runtime errors).*

2. **Build (and gaslight HLS):**
```sh
./matic build my-project -gaslight
```
*Watch as your editor stops screaming (out of fear).*

3. **Run your abomination:**
```sh
./matic run my-project
```
*If it fails, restart your editor. Then your computer. Then your life.*

4. **Enter the rebuild cycle:**
```sh
./matic watch my-project
```
*Like a nervous twitch, but for your CPU.*

4. **Clean up the evidence:**
```sh
./matic clean my-project
```
*Your project will wake up tomorrow with no memory of ever compiling.*

## 🔥 Why?

- **You have a grudge against Cabal and Stack.**
- **You love chaos and pain.**
- **You’re probably a danger to society.**

## 🚨 Warning

This tool:
- **Will** corrupt your global GHC package DB.
- **Will** make HLS question its life choices.
- **Will not** scale beyond ~20 files (seems like a *you* problem).

## 🏴‍☠️ Contribute?

Why on earth would you subject yourself to that?

---

**License:** Do what thou wilt (but blame yourself when it breaks).

**Disclaimer:** Not responsible for lost sanity, broken editors, or the eventual heat death of the universe.