/kucka

🛠️🔥 Minimalistic automation tool made in Python.

Primary LanguagePythonMIT LicenseMIT

logo

code-size fork-me

Kucka (/'kutska/) is a minimalistic automation tool to build, run, install programs and much more.

Not him, neither her.

Install

Kucka is made up of a Python Package, which you can install by doing

git clone https://github.com/heizelnut/kucka # Clone the repository
cd kucka/src # Change working directory
python3 setup.py install # Install the package

Usage

Go ahead and create a Kuckafile.yml file inside a directory. Then, write as so:

$config:
    greet: "Hello"

default:
    - echo "$K(greet); World!"

And after that, run kucka into the terminal. Play with the "greet" parameter.

You can also organize the file as sections, as you would imagine:

$config:
    compiler: "gcc"

compile:
    - $K(compiler); main.c -o main

run:
    - ./main

Now create a simple C program inside main.c

#include <stdio.h>

int main(void) {
    printf("Hello World!\n");
    return(0);
}

And run it by doing kucka compile and then kucka run.

If there's nothing after the command, it picks the default directive.

Contributing

If you'd like to contribute, you're free to do so! Fork my project and then pull request me.