2021-05-27 20:37:41 +00:00
|
|
|
SHELL := bash
|
|
|
|
.DEFAULT_GOAL := help
|
|
|
|
|
|
|
|
help: always ## Ayuda
|
|
|
|
@grep "^[^\t]\+:.*##" Makefile | sed -re "s/(.*):.*##(.*)/\1;\2/" | column -s ";" -t | sed -re "s/^([^ ]+) /\x1B[38;5;197m\1\x1B[0m/"
|
|
|
|
|
2021-10-20 18:24:48 +00:00
|
|
|
%: ## Agrega la gema a la cola de compilación (make puma v=5.3.0)
|
2021-05-27 20:37:41 +00:00
|
|
|
@test -n "$v" || echo "Falta la versión en el argumento v=" ; :
|
|
|
|
@test -n "$v" || exit 1
|
2021-10-20 18:24:48 +00:00
|
|
|
install -dm 755 build/$@
|
|
|
|
touch build/$@/$(v)
|
|
|
|
git add build/$@/$(v)
|
2021-05-27 20:37:41 +00:00
|
|
|
|
|
|
|
.PHONY: always
|