-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
40 lines (33 loc) · 857 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
NOMBRE="ember-blockly"
VERSION=$(shell git describe --tags $(git rev-list --tags --max-count=1))
N=[0m
G=[01;32m
Y=[01;33m
B=[01;34m
define log
@echo " ${G}▷$(1) ${N}"
endef
define task
@echo "${Y}-$(1)${N}"
endef
comandos:
@echo ""
@echo "${B}Comandos disponibles para ${Y}${NOMBRE} (versión: ${VERSION})${N}"
@echo ""
@echo " ${Y}Generales de la aplicación${N}"
@echo ""
@echo " ${G}init${N} Instala dependencias."
@echo " ${G}version${N} Publica una versión nueva."
@echo " "
@echo " nota: el deploy se realiza automáticamente desde travis"
@echo " a la siguiente URL: http://ember-blockly.surge.sh"
@echo ""
init:
$(call task, "Iniciando el proyecto.")
$(call log, "Instalando dependencias.")
@npm install
@bower install
version:
npm version patch
npm publish
.PHONY: tmp