added makefile

This commit is contained in:
Pocco81 2022-05-21 13:06:27 -05:00
parent ba9943cb34
commit 5a121f8d7c

11
Makefile Normal file
View file

@ -0,0 +1,11 @@
LOG_INFO=$(shell date +"%H:%M:%S") \e[0;34mINFO\e[0m
LOG_ERROR=$(shell date +"%H:%M:%S") \e[1;31mERROR\e[0m
LOG_WARNING=$(shell date +"%H:%M:%S") \e[0;33mWARNING\e[0m
LOG_SUCCESS=$(shell date +"%H:%M:%S") \e[0;32mSUCCESS\e[0m
.DEFAULT_GOAL := publish
publish:
@echo -e "$(LOG_INFO) Publishing to NPM..."
@npm publish --access public