项目作者: heizelnut

项目描述 :
🛠️🔥 Minimalistic automation tool made in Python.
高级语言: Python
项目地址: git://github.com/heizelnut/kucka.git
创建时间: 2019-04-25T19:11:29Z
项目社区:https://github.com/heizelnut/kucka

开源协议:MIT License

下载


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

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

Usage

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

  1. $config:
  2. greet: "Hello"
  3. default:
  4. - 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:

  1. $config:
  2. compiler: "gcc"
  3. compile:
  4. - $K(compiler); main.c -o main
  5. run:
  6. - ./main

Now create a simple C program inside main.c

  1. #include <stdio.h>
  2. int main(void) {
  3. printf("Hello World!\n");
  4. return(0);
  5. }

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.