mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 23:00:17 +00:00
962 B
962 B
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 bash–isms when doing so, as GNU Make doesn't use the familiar Bash sytnax. This project seeks to bridge these works.
WORK IN PROGRESS
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
BakefileUnlikeMakefile, either tabs or 4 spaces can be used.
Installation
Install bake via:
$ brew install kennethreitz/-/bake --HEAD
