generated from sigonasr2/CProjectTemplate
parent
f512eb5f67
commit
42659cda91
@ -1,2 +1,2 @@ |
||||
build.sh:fcbd8c14fe2a608d11166cf5aa7dba02 - |
||||
build.sh:50a30b43fe30f45d4b7776f1929f359e - |
||||
commit.sh:89783d2e6a165aa9612c79cfbd804a35 - |
@ -1,7 +0,0 @@ |
||||
#Compiles the entire program then runs it, producing an executable. |
||||
#C |
||||
printf "Running program...\n\n\n" |
||||
if gcc $(find . -type f -name "*.c") ${CUSTOM_PARAMS} -o ${PROJECT_NAME}; then |
||||
./${PROJECT_NAME} "$@" |
||||
fi |
||||
printf "\n\n" |
@ -1,20 +0,0 @@ |
||||
#Adds a commit message and pushes project to github repository. |
||||
#C |
||||
COMMIT_MESSAGE="$*" |
||||
FIRST_LINE=true |
||||
while IFS= read -r line |
||||
do |
||||
if [ "$FIRST_LINE" = true ]; then |
||||
COMMIT_MESSAGE+=" |
||||
|
||||
Co-authored-by: $line" |
||||
FIRST_LINE=false |
||||
else |
||||
COMMIT_MESSAGE+=" |
||||
Co-authored-by: $line" |
||||
fi |
||||
done < utils/.coauthors |
||||
git add -u |
||||
git add * |
||||
git commit -m "$COMMIT_MESSAGE" |
||||
git push |
@ -1,4 +1,5 @@ |
||||
Java/ |
||||
C/ |
||||
C++/ |
||||
scripts/ |
||||
utils/ |
Loading…
Reference in new issue