mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 23:00:17 +00:00
improved examples
This commit is contained in:
+10
-4
@@ -1,10 +1,16 @@
|
||||
hello: hello/reuse hello/reuse/concurrent
|
||||
|
||||
echo "You just ran $(red 'hello') directly, then indirectly (via bake+bash; 6 times, concurrently!)"
|
||||
hello/basic:
|
||||
echo 'hello'
|
||||
|
||||
sleep 2
|
||||
echo "[$(red $(uuidgen))] hello!"
|
||||
hello/reuse:
|
||||
bake hello/basic
|
||||
|
||||
hello/reuse/concurrent:
|
||||
bake hello/reuse & bake hello/reuse
|
||||
set -ex && \
|
||||
bake hello/reuse &
|
||||
bake hello/reuse &
|
||||
bake hello/reuse &
|
||||
bake hello/reuse &
|
||||
bake hello/reuse &
|
||||
bake hello/reuse
|
||||
|
||||
Reference in New Issue
Block a user