diff options
author | ng0 <ng0@n0.is> | 2019-09-08 12:29:31 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-08 12:29:31 +0000 |
commit | a0fce305c565c0937d917a92712f15e9c5736260 (patch) | |
tree | 960091dc3a90d43bf228256439fde0e394b9b941 | |
parent | 4ffa3f5d7683ab60f3faaad0ed2e1c88a2a8c8e7 (diff) | |
download | gnunet-a0fce305c565c0937d917a92712f15e9c5736260.tar.gz gnunet-a0fce305c565c0937d917a92712f15e9c5736260.zip |
replace clang-format with uncrustify.
-rw-r--r-- | .dir-locals.el | 3 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rwxr-xr-x | bootstrap | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/.dir-locals.el b/.dir-locals.el index 29999b944..687863811 100644 --- a/.dir-locals.el +++ b/.dir-locals.el | |||
@@ -1,8 +1,5 @@ | |||
1 | ;; Per-directory local variables for GNU Emacs 23 and later. | 1 | ;; Per-directory local variables for GNU Emacs 23 and later. |
2 | 2 | ||
3 | ((c-mode | ||
4 | (eval add-hook 'before-save-hook #'clang-format-buffer nil t))) | ||
5 | |||
6 | ((nil | 3 | ((nil |
7 | . ((fill-column . 78) | 4 | . ((fill-column . 78) |
8 | (tab-width . 4) | 5 | (tab-width . 4) |
diff --git a/.gitignore b/.gitignore index f4f2ae65c..6842f759f 100644 --- a/.gitignore +++ b/.gitignore | |||
@@ -62,6 +62,8 @@ doc/tutorial/gversion.texi | |||
62 | # top-level symlink can exist | 62 | # top-level symlink can exist |
63 | .clang-format | 63 | .clang-format |
64 | 64 | ||
65 | uncrustify.cfg | ||
66 | |||
65 | # this exists outside of the main repository | 67 | # this exists outside of the main repository |
66 | cmake/ | 68 | cmake/ |
67 | build | 69 | build |
@@ -3,8 +3,8 @@ | |||
3 | echo "Removing folder 'libltdl'..." | 3 | echo "Removing folder 'libltdl'..." |
4 | rm -rf libltdl | 4 | rm -rf libltdl |
5 | 5 | ||
6 | # Install clang format symlink (if possible) | 6 | # Install uncrustify format symlink (if possible) |
7 | ln -s contrib/conf/editors/clang-format .clang-format 2> /dev/null | 7 | ln -s contrib/uncrustify.cfg uncrustify.cfg 2> /dev/null |
8 | 8 | ||
9 | echo "checking for libtoolize / libtool... " | 9 | echo "checking for libtoolize / libtool... " |
10 | 10 | ||