Update formatting options

This commit is contained in:
Katy248 2024-10-16 15:49:53 +03:00
parent b2d8fc5ef5
commit 1671616d5a

View File

@ -1,9 +1,13 @@
SOURCE_FILES := $(shell shfmt -f .)
FORMAT_FLAGS := -kp -sr -i 2 -s
check:
desktop-file-validate ./photoshop.desktop
shellcheck -x $(SOURCE_FILES)
fmt:
shfmt -w $(SOURCE_FILES)
shfmt -w \
$(FORMAT_FLAGS) \
$(SOURCE_FILES)