mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 23:00:17 +00:00
35 lines
706 B
Markdown
35 lines
706 B
Markdown
# `bake`— Kinda like Make & Bash, combined.
|
||
|
||
I love using `Makefile`s for one-off tasks in projects. The problem with doing this, is you can't use familiar bash–isms 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:
|
||
|
||
```make
|
||
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
|