aboutsummaryrefslogtreecommitdiff
path: root/script/generate_rendu.sh
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-10-11 14:53:20 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-10-11 14:53:20 +0200
commit39951f08a2938683d800c677c3a244e9ff8dbe19 (patch)
tree9321278f57c91d070e269fc2d2f95d4f2cb00fdf /script/generate_rendu.sh
parent306a69eb9ae88813cf0be0aa3e001481e12220a1 (diff)
downloadlibft-39951f08a2938683d800c677c3a244e9ff8dbe19.tar.gz
libft-39951f08a2938683d800c677c3a244e9ff8dbe19.tar.bz2
libft-39951f08a2938683d800c677c3a244e9ff8dbe19.zip
Removing none c,h files for correction
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"