mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 23:48:58 +00:00
Handle whitespace via gitattributes
This commit is contained in:
parent
7028025eb9
commit
729efea957
3
.gitattributes
vendored
Normal file
3
.gitattributes
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
* text=auto
|
||||||
|
*.[ch] text whitespace=fix
|
||||||
|
*.yaml text whitespace=fix
|
4
Makefile
4
Makefile
@ -18,10 +18,6 @@ clean:
|
|||||||
.PHONY: format
|
.PHONY: format
|
||||||
format:
|
format:
|
||||||
find . -iname *.h -o -iname *.c | xargs clang-format -i -style=file
|
find . -iname *.h -o -iname *.c | xargs clang-format -i -style=file
|
||||||
ifneq (,$(shell which dos2unix))
|
|
||||||
# TODO should we make this mandatory?
|
|
||||||
find . -iname *.h -o -iname *.c | xargs dos2unix -q
|
|
||||||
endif
|
|
||||||
|
|
||||||
.PHONY: tidy
|
.PHONY: tidy
|
||||||
tidy: require_scheme
|
tidy: require_scheme
|
||||||
|
Loading…
Reference in New Issue
Block a user