mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 23:00:17 +00:00
fix bakefile
This commit is contained in:
@@ -66,17 +66,17 @@ random/python/ip:
|
||||
print(r.json()['origin'].split(',')[0])
|
||||
|
||||
cli:
|
||||
bake:red 'Testing sub–commands.'
|
||||
bake:step 'sub-task'
|
||||
echo 'I should *not* be red.' | bake:red | bake:indent | bake:notred
|
||||
echo 'I *should* be red.' | bake:red --always | bake:indent
|
||||
echo "$(echo test $(bake:red test) test | bake:indent)"
|
||||
red 'Testing sub–commands.'
|
||||
bake_step 'sub-task'
|
||||
echo 'I should *not* be red.' | red | bake_indent | notred
|
||||
echo 'But, I *should* be red.' | red --always | bake_indent | bake_indent
|
||||
echo "$(echo $(red test --fg yellow) $(red test --bold) $(red test --fg cyan) | bake_indent)"
|
||||
echo
|
||||
|
||||
//kr:
|
||||
sparkescakesparkles="✨ 🍰 ✨" | pbcopy
|
||||
echo "$sparkescakesparkles" | pbcopy
|
||||
echo 'KR Copied!' | bake:red --fg cyan
|
||||
echo 'KR Copied!' | red --fg cyan
|
||||
|
||||
lazy_brew() {
|
||||
set -e
|
||||
|
||||
Reference in New Issue
Block a user