aboutsummaryrefslogtreecommitdiff
path: root/script/generate_rendu.sh
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-09-18 16:39:52 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-09-18 16:39:52 +0200
commitdd0c485ac4975b7dd6d2e230213be1da50d0a065 (patch)
tree5fbd967f8b95c72fbb696bb089c2cc349d28b61f /script/generate_rendu.sh
parent3c3f1115f6e9a9b914e2dcbd796501ca7ce85342 (diff)
downloadlibft-malloc.tar.gz
libft-malloc.tar.bz2
libft-malloc.zip
Removing unnecessary stuffmalloc
Diffstat (limited to 'script/generate_rendu.sh')
-rwxr-xr-xscript/generate_rendu.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/script/generate_rendu.sh b/script/generate_rendu.sh
deleted file mode 100755
index 1b68a97..0000000
--- a/script/generate_rendu.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-if [ "$(git status --porcelain)" ]
-then
- echo "Error: Your working directory isn't clean"
- exit
-fi
-
-BASE_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
-RENDU_BRANCH_NAME="rendu-$BASE_BRANCH_NAME"
-
-if [ -z $(git show-ref --verify --quiet refs/heads/$RENDU_BRANCH_NAME) ]
-then
- echo "Error: $RENDU_BRANCH_NAME was already generated"
- exit
-fi
-
-git checkout -b $RENDU_BRANCH_NAME
-RENDU_IGNORE=$(sed -n 's/RENDU_IGNORE=//p')
-make fclean
-rm -f $RENDU_IGNORE
-
-# generate makefile strict src
-
-git add .
-git commit --message "Generated commit: creation of rendu for $BASE_BRANCH_NAME"