mirror of
https://github.com/upx/upx
synced 2025-10-05 19:20:23 +08:00
all: minor cleanups
This commit is contained in:
parent
75e153dd99
commit
26cfd0a616
28
.gitattributes
vendored
28
.gitattributes
vendored
|
@ -3,22 +3,26 @@
|
||||||
# HINT: check settings with
|
# HINT: check settings with
|
||||||
# git ls-files | git check-attr --stdin --all
|
# git ls-files | git check-attr --stdin --all
|
||||||
|
|
||||||
# tell GitHub and other diff-tools that these files are automatically generated
|
#
|
||||||
|
# tell diff tools that these files are generated automatically
|
||||||
|
#
|
||||||
|
|
||||||
doc/upx.1 linguist-generated
|
/doc/upx.1 linguist-generated
|
||||||
doc/upx-doc.* linguist-generated
|
/doc/upx-doc.* linguist-generated
|
||||||
|
|
||||||
src/stub/*.h linguist-generated
|
/src/stub/*.h linguist-generated
|
||||||
src/stub/src/arch/**/lzma_d_c[fns].S linguist-generated
|
/src/stub/src/arch/**/lzma_d_c[fns].S linguist-generated
|
||||||
src/stub/tmp/** linguist-generated
|
/src/stub/tmp/** linguist-generated
|
||||||
|
|
||||||
|
#
|
||||||
# make GitHub language detection more accurate
|
# make GitHub language detection more accurate
|
||||||
|
#
|
||||||
|
|
||||||
src/*.h linguist-language=C++
|
/src/*.h linguist-language=C++
|
||||||
src/*/*.h linguist-language=C++
|
/src/*/*.h linguist-language=C++
|
||||||
|
|
||||||
src/stub/**/*.ash linguist-language=Assembly
|
/src/stub/**/*.ash linguist-language=Assembly
|
||||||
src/stub/**/*.asm linguist-language=Assembly
|
/src/stub/**/*.asm linguist-language=Assembly
|
||||||
src/stub/**/*.S linguist-language=Assembly
|
/src/stub/**/*.S linguist-language=Assembly
|
||||||
|
|
||||||
src/stub/tmp/** linguist-vendored
|
/src/stub/tmp/** linguist-vendored
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -170,7 +170,8 @@ build/analyze/clang-analyzer/%: CMAKE := scan-build $(CMAKE)
|
||||||
build/analyze/clang-analyzer/%: export CCC_CC ?= clang
|
build/analyze/clang-analyzer/%: export CCC_CC ?= clang
|
||||||
build/analyze/clang-analyzer/%: export CCC_CXX ?= clang++
|
build/analyze/clang-analyzer/%: export CCC_CXX ?= clang++
|
||||||
|
|
||||||
# run clang-tidy (uses file compile_commands.json from an existing clang build)
|
# run clang-tidy: uses file compile_commands.json from an existing clang build
|
||||||
|
# does not create any actual files, so purely PHONY
|
||||||
RUN_CLANG_TIDY = time python3 ./misc/analyze/clang-tidy/run-clang-tidy.py -p $<
|
RUN_CLANG_TIDY = time python3 ./misc/analyze/clang-tidy/run-clang-tidy.py -p $<
|
||||||
RUN_CLANG_TIDY_WERROR = $(RUN_CLANG_TIDY) '-warnings-as-errors=*'
|
RUN_CLANG_TIDY_WERROR = $(RUN_CLANG_TIDY) '-warnings-as-errors=*'
|
||||||
build/analyze/clang-tidy-upx/debug build/analyze/clang-tidy-upx/release: build/extra/clang/$$(notdir $$@) PHONY
|
build/analyze/clang-tidy-upx/debug build/analyze/clang-tidy-upx/release: build/extra/clang/$$(notdir $$@) PHONY
|
||||||
|
|
Loading…
Reference in New Issue
Block a user