diff options
author | ng0 <ng0@n0.is> | 2019-10-12 18:25:20 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-10-12 18:25:20 +0000 |
commit | 41aecf40551173f2fbd82ac877cc88e9ff012825 (patch) | |
tree | d3ab8f18026aa400ec16d23016f5fae800b33a6d /bootstrap | |
parent | 3371f389918feb4b428dfd129464c555852b4189 (diff) | |
download | gnunet-41aecf40551173f2fbd82ac877cc88e9ff012825.tar.gz gnunet-41aecf40551173f2fbd82ac877cc88e9ff012825.zip |
add yapf style
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -21,8 +21,19 @@ else | |||
21 | echo "Uncrustify not detected, hook not installed. Please install uncrustify if you plan on doing development" | 21 | echo "Uncrustify not detected, hook not installed. Please install uncrustify if you plan on doing development" |
22 | fi | 22 | fi |
23 | 23 | ||
24 | echo "checking for libtoolize / libtool... " | ||
25 | 24 | ||
25 | # yapf can be a suffixed binary, don't change the essential logic | ||
26 | # of this if you change it. | ||
27 | if existence yapf || existence yapf3.0 || existence yapf3.1 || existence yapf3.2 || existence yapf3.3 || existence yapf3.4 || existence yapf3.5 || existence yapf3.6 || existence yapf3.7 || existence yapf3.8 || existence yapf3.9 || existence yapf4.0; then | ||
28 | echo "Installing yapf symlink" | ||
29 | # Install yapf style symlink (if possible) | ||
30 | ln -s contrib/conf/.style.yapf 2> /dev/null | ||
31 | else | ||
32 | echo "yapf not detected, please install yapf if you plan on contributing python code" | ||
33 | fi | ||
34 | |||
35 | |||
36 | echo "checking for libtoolize / libtool... " | ||
26 | 37 | ||
27 | if existence libtool || existence libtoolize || existence glibtoolize || existence slibtool; then | 38 | if existence libtool || existence libtoolize || existence glibtoolize || existence slibtool; then |
28 | autoreconf -if | 39 | autoreconf -if |