Skip to content

Commit

Permalink
use repo-utils for some tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
PasaOpasen committed Apr 14, 2024
1 parent 2a27314 commit dd3edc1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,8 @@ target/
venv
documentation

repo-utils
pypi.sh

.vscode
.idea
23 changes: 11 additions & 12 deletions meta/documentation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,17 @@ set -e

pkg=geneticalgorithm2

PYTHON="python"
for python in "venv/bin/python" ".venv/bin/python"
do
if [ -x "$(command -v ${python})" ]
then
echo -e "Use python from ${python}"
PYTHON=${python}
break
else
echo "Not found python from ${python}"
fi
done
if [ -d repo-utils ]
then
(
cd repo-utils
git pull
)
else
GIT_SSL_NO_VERIFY=1 git clone https://github.com/PasaOpasen/repo-utils
fi

PYTHON="$(cd repo-utils && bash get-python.sh)"

#
# rm old files
Expand Down

0 comments on commit dd3edc1

Please sign in to comment.