2019-09-15 13:20:30 -04:00
2019-09-15 13:14:26 -04:00
2019-09-15 13:10:28 -04:00
d
2019-09-15 13:15:15 -04:00
yo
2019-09-15 13:00:09 -04:00
2019-09-14 18:01:23 -04:00
2019-09-14 18:01:23 -04:00
2019-09-15 13:20:30 -04:00
d
2019-09-15 13:15:15 -04:00

bake— Kinda like Bash & Make, combined.

I love using Makefiles for one-off tasks in projects. The problem with doing this, is you can't use familiar bashisms when doing so, as GNU Make doesn't use the familiar Bash sytnax. This project seeks to bridge these works.

WORK IN PROGRESS

bake icon

Example Bakefile, for use with bake:

echo:
    cat Bakefile
format:
    black .

full-install: system-deps install
install: node-deps python-deps


argv-example:
    set -eux
    echo "HELLO, $WHO"
    echo $@

dangerous-example: @confirm:secure
    rm -fr *

python-deps:
    # Example of comments
    pipenv install
node-deps:
    yarn install

system-deps:
    brew install pipenv

Features

  • a Bakefile Unlike Makefile, either tabs or 4 spaces can be used.

Installation

Install bake via:

$ brew install kennethreitz/-/bake --HEAD
Languages
Python 63.8%
Perl 24.3%
Shell 9.1%
Dockerfile 2.8%