From c20463e27ad0b094d33613e7a88520b72d5f87fe Mon Sep 17 00:00:00 2001 From: gbaconni Date: Mon, 25 Apr 2022 22:40:45 +0200 Subject: [PATCH] Add status --- Makefile | 6 +++++- libftprintf/Makefile | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index abe58d9..e12e00b 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ # By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2022/01/18 15:11:16 by gbaconni #+# #+# # -# Updated: 2022/04/25 07:11:15 by gbaconni ### lausanne.ch # +# Updated: 2022/04/25 22:39:57 by gbaconni ### lausanne.ch # # # # **************************************************************************** # # @@ -136,6 +136,9 @@ online: @dig +short vogsphere.baco.net A | grep -qF '213.5.156.25' || echo 'vogsphere.baco.net unresolvable' @nc -vzw3 vogsphere.baco.net 443 2>&1 | grep -qF '213.5.156.25' || echo 'vogsphere.baco.net unreachable' +status: + @git status + pull: config @git pull @@ -148,6 +151,7 @@ config: @git clone $(GIT_REPO) 42 || true 21: 42 + @test -f 42/Makefile && make -C 42 pull @mv 42/.git .42.git @rsync --verbose --archive --delete --include '*.c' --include '*.h' --include 'Makefile' --include '*/' --exclude '*' libftprintf/ 42/ @mv .42.git 42/.git diff --git a/libftprintf/Makefile b/libftprintf/Makefile index b1b32e9..75acaee 100644 --- a/libftprintf/Makefile +++ b/libftprintf/Makefile @@ -6,7 +6,7 @@ # By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2022/01/18 15:11:16 by gbaconni #+# #+# # -# Updated: 2022/04/25 13:17:14 by gbaconni ### lausanne.ch # +# Updated: 2022/04/25 22:40:27 by gbaconni ### lausanne.ch # # # # **************************************************************************** # # @@ -155,6 +155,9 @@ online: pull: config @git pull +status: + @git status + config: @git config user.name "gbaconni" @git config user.email "gbaconni@student.42lausanne.ch"