2019-09-15 10:08:08 -04:00
2019-09-15 09:42:16 -04:00
2019-09-15 09:42:33 -04:00
2019-09-15 10:06:54 -04:00
2019-09-14 18:01:23 -04:00
2019-09-14 18:01:23 -04:00
2019-09-15 10:08:08 -04:00
2019-09-15 09:42:16 -04:00

bashf— 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 python-deps
    install: node-deps python-deps

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

    system-deps:
        brew install pipenv

Unlike Makefiles, either tabs or 4 spaces can be used.

Installation

Install bashf via:

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