mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 23:00:17 +00:00
2683b6eca4ff3ba8a6c07b0133ad964d85f4d604
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
Languages
Python
63.8%
Perl
24.3%
Shell
9.1%
Dockerfile
2.8%
