notificar cuando termina la compilación

This commit is contained in:
f 2021-04-13 13:16:59 -03:00
parent 935441cbf0
commit fe682d22c1

View file

@ -14,6 +14,7 @@ all: fa build ## Todo
build: ## Compilar el sitio build: ## Compilar el sitio
bundle exec jekyll build --profile --trace bundle exec jekyll build --profile --trace
@echo -e "\a"
serve: /etc/hosts kill-servers ## Servidor de prueba serve: /etc/hosts kill-servers ## Servidor de prueba
@echo "Iniciando servidor web en https://$(domain):4000/" @echo "Iniciando servidor web en https://$(domain):4000/"
@ -23,6 +24,7 @@ serve: /etc/hosts kill-servers ## Servidor de prueba
kill-servers: /tmp/nghttpd.pid /tmp/nghttpx.pid /tmp/webpack.pid ## Cerrar el servidor kill-servers: /tmp/nghttpd.pid /tmp/nghttpx.pid /tmp/webpack.pid ## Cerrar el servidor
webpack: assets/js/pack.js ## Compilar JS webpack: assets/js/pack.js ## Compilar JS
@echo -e "\a"
webpack-dev-server: /tmp/webpack.pid ## Servidor de prueba de Webpack webpack-dev-server: /tmp/webpack.pid ## Servidor de prueba de Webpack
./node_modules/.bin/webpack-dev-server --public $(domain):4000 --host 127.0.0.1 --port 65001 & echo $$! > /tmp/webpack.pid ./node_modules/.bin/webpack-dev-server --public $(domain):4000 --host 127.0.0.1 --port 65001 & echo $$! > /tmp/webpack.pid
@ -35,6 +37,7 @@ assets/fonts/forkawesome-webfont.woff2: fa.txt
mv node_modules/fork-awesome/fonts/forkawesome-webfont-subset.woff2 $@ mv node_modules/fork-awesome/fonts/forkawesome-webfont-subset.woff2 $@
fa: assets/fonts/forkawesome-webfont.woff2 ## Fork Awesome fa: assets/fonts/forkawesome-webfont.woff2 ## Fork Awesome
@echo -e "\a"
push: ## Publica los cambios locales push: ## Publica los cambios locales
sudo chgrp -R 82 _site sudo chgrp -R 82 _site