Giter Site home page Giter Site logo

makeup's Introduction

MakeUp ๐Ÿ’„

Build your projects with ease and style๐ŸŽจ!

WARNING: This project is at very experimental stages.

MakeUp is an easy to use language agnostic build tool inspired by the likes of make, CMake, SCons intended to be easy to use while retaining high customizability.

Getting Started โšก

  1. Install makeup ๐Ÿš€
$ pip install pymakeup
or
$ poetry add pymakeup

Not yet, for now do:
$ git clone https://github.com/kaiserthe13th/makeup.git
$ cd makeup
$ pip install .
  1. Start a new project ๐Ÿ“œ
$ makeup --new [your_project]
or
$ makeup --init
  1. Create a task ๐ŸŽฎ
from typing import Union
from functools import reduce

@task()
def add(*args: Union[int, float]):
    print(reduce(lambda x, y: x + y, args, 0))
  1. Use it as you please
$ makeup add 2 2
4
$ makeup add 1.2 2.4
3.6

Features ๐ŸŽฏ

  • Make style task creation and execution, with the programmatic capabilities of Python
  • Much more versatile, not just a build tool, but also a task runner
  • Tasks with defaults, arguments and keyword arguments in the command line
  • Just write what type you want, it will be validated and processed for you
  • Easy access the environment (with .env support)

๐Ÿ’ก Philosophy

I've always liked make, CMake and SCons. However I always had my frustrations with them. CMake and Scons are complicated and have steep learning curves. And CMake isn't versatile. make while more versatile isn't so much when it is a pain to do if-elses, it can't take arguments without workarounds. It is too simple.

As a solution to all of this, I started developing a middle ground. One that will be easy to learn, yet capable. A system taking advantage of the capabilities of Python and able to realize the effectiveness of type annotations.

makeup's People

Contributors

dependabot[bot] avatar kaiserthe13th avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.