2019-09-15 13:03:10 -04:00
2019-09-15 13:03:10 -04:00
2019-09-15 09:42:33 -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:03:03 -04:00
2019-09-15 13:03:10 -04:00

bake— Kinda like Make & Bash, 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.

Example Bashfile

To be improved:

echo:
    cat Bashfile
format:
    black .

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

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

system-deps:
    brew install pipenv

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%