mirror of
https://github.com/shvedes/photoshop-linux.git
synced 2025-09-09 20:54:55 +00:00
Update formatting options
This commit is contained in:
parent
b2d8fc5ef5
commit
1671616d5a
6
Makefile
6
Makefile
@ -1,9 +1,13 @@
|
|||||||
SOURCE_FILES := $(shell shfmt -f .)
|
SOURCE_FILES := $(shell shfmt -f .)
|
||||||
|
|
||||||
|
FORMAT_FLAGS := -kp -sr -i 2 -s
|
||||||
|
|
||||||
check:
|
check:
|
||||||
desktop-file-validate ./photoshop.desktop
|
desktop-file-validate ./photoshop.desktop
|
||||||
shellcheck -x $(SOURCE_FILES)
|
shellcheck -x $(SOURCE_FILES)
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
shfmt -w $(SOURCE_FILES)
|
shfmt -w \
|
||||||
|
$(FORMAT_FLAGS) \
|
||||||
|
$(SOURCE_FILES)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user