Система контроля версий GitLab использует язык форматирования GitHub Flavored Markdown (форматирование текста в Issues (топики). Краткое руководство: https://gitlab.igrnt.info/bible/igrnt/wikis/gitlab-markdown

добавлена авто сборка модулей MyBible

parent 077c903c
#!/bin/sh
if [ "$HEBRAICNAMES" == h ]
then
echo ""
# echo -e ".separator ","\n.import ./IGRNTh-verses-NT.csv verses" | sqlite3 ./SQLite3/IGRNTh+.SQLite3
# echo -e ".separator ","\n.import ./IGRNTh-commentariesNT.csv commentaries" | sqlite3 ./SQLite3/IGRNTh+.commentaries.SQLite3
# echo -e ".separator ","\n.import ./LCVh-accented-dotted-verses-NT.csv verses" | sqlite3 ./SQLite3/LCVh+.SQLite3
# #
# echo -e "DELETE FROM verses WHERE book_number = book_number; " | sqlite3 ./SQLite3/IGRNTh+.SQLite3
# echo -e "DELETE FROM verses WHERE book_number = book_number; " | sqlite3 ./SQLite3/IGRNTh+.commentaries.SQLite3
# echo -e "DELETE FROM verses WHERE book_number = book_number; " | sqlite3 ./SQLite3/LCVh+.SQLite3
elif [ "$HEBRAICNAMES" == r ]
then
sqlite3 -batch ./SQLite3/IGRNTr+.SQLite3 << END_SQL
.separator ,
.import ./IGRNTr-verses-NT.csv verses
.quit
END_SQL
# printf '.mode csv\n.separator ,\n.import ./IGRNTr-verses-NT.csv verses\n' | sqlite3 ./SQLite3/IGRNTr+.SQLite3
## printf '.mode csv\n.separator ,\n.import ./IGRNTr-commentariesNT.csv commentaries\n' | sqlite3 ./SQLite3/IGRNTr+.commentaries.SQLite3
## printf '.mode csv\n.separator ,\n.import ./LCVr-accented-dotted-verses-NT.csv verses\n' | sqlite3 ./SQLite3/LCVr+.SQLite3
#
# sqlite3 ./SQLite3/IGRNTr+.SQLite3 <<<$'.mode csv\n.separator ,\n.import ./IGRNTr-verses-NT.csv verses\n'
# sqlite3 ./SQLite3/IGRNTr+.commentaries.SQLite3 <<<$'.mode csv\n.separator ,\n.import ./IGRNTr-commentariesNT.csv commentaries\n'
# sqlite3 ./SQLite3/LCVr+.SQLite3 <<<$'.mode csv\n.separator ,\n.import ./LCVr-accented-dotted-verses-NT.csv verses\n'
#
# #
## echo -e "DELETE FROM verses WHERE book_number = book_number; " | sqlite3 ./SQLite3/IGRNTr+.SQLite3
## echo -e "DELETE FROM verses WHERE book_number = book_number; " | sqlite3 ./SQLite3/IGRNTr+.commentaries.SQLite3
## echo -e "DELETE FROM verses WHERE book_number = book_number; " | sqlite3 ./SQLite3/LCVr+.SQLite3
# #
##echo -e "SELECT value FROM info; UPDATE info SET value = REPLACE(value,'XX.XX.XXXX','$JOB_TIMESTAMP_SHORT'); " | sqlite3 -echo ./LCVr+.SQLite3
elif [ "$HEBRAICNAMES" == u ]
then
echo ""
# echo -e ".separator ","\n.import ./IGRNTu-verses-NT.csv verses" | sqlite3 ./SQLite3/IGRNTu+.SQLite3
# echo -e ".separator ","\n.import ./IGRNTu-commentariesNT.csv commentaries" | sqlite3 ./SQLite3/IGRNTu+.commentaries.SQLite3
# echo -e ".separator ","\n.import ./LCVu-accented-dotted-verses-NT.csv verses" | sqlite3 ./SQLite3/LCVu+.SQLite3
# #
# echo -e "DELETE FROM verses WHERE book_number = book_number; " | sqlite3 ./SQLite3/IGRNTu+.SQLite3
# echo -e "DELETE FROM verses WHERE book_number = book_number; " | sqlite3 ./SQLite3/IGRNTu+.commentaries.SQLite3
# echo -e "DELETE FROM verses WHERE book_number = book_number; " | sqlite3 ./SQLite3/LCVu+.SQLite3
else
exit 1;
fi
exit 0;
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment