|
|
|
|
|
by GordonS
2385 days ago
|
|
> (as compared to a Makefile full of .PHONY being used as a named task runner) Personally, I've never used PHONY, or had a need to. That said, your bash examples are pretty simple - I especially like the 2nd example, as it would trivially allow having targets that ran other targets, e.g. an "all" target from a makefile: ```
all: build push build:
@docker build --tag ${IMG} --tag ${UNSTABLE} . rebuild:
@docker build --no-cache --tag ${IMG} --tag ${UNSTABLE} . push:
@docker push ${NAME}
``` |
|